Skip to content

Commit

Permalink
Update registry.go
Browse files Browse the repository at this point in the history
  • Loading branch information
kingindanord authored Jun 22, 2020
1 parent bcdb7dd commit 0d4f468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,15 @@ func postSchema(idx int, schemaName, host, schemaPort string, schemas [][]byte,

}

func AddSchema(schemas [][]byte, schemaNames []string, host, schemaPort string) {
func AddSchema(schemas [][]byte, schemaNames []string, host, schemaPort string, protocol string) {

fmt.Println("")
wg := &sync.WaitGroup{}

for idx, v := range schemaNames {
wg.Add(1)

go postSchema(idx, v, host, schemaPort, schemas, wg)
go postSchema(idx, v, host, schemaPort, schemas, wg, protocol)

}

Expand Down

0 comments on commit 0d4f468

Please sign in to comment.