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 0d4f468 commit bf2d28f
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 @@ -45,14 +45,14 @@ func DeleteSchemaSpecfic(host, schemaPort, schemaName string, protocol string) {

}

func DeleteSchemaList(host, schemaPort string, schemaList []string) {
func DeleteSchemaList(host, schemaPort string, schemaList []string, protocol string) {

wg := &sync.WaitGroup{}

for _, v := range schemaList {
wg.Add(1)

go deleteSchema(host, schemaPort, v, wg)
go deleteSchema(host, schemaPort, v, wg, protocol)

}

Expand Down

0 comments on commit bf2d28f

Please sign in to comment.