Skip to content

Commit

Permalink
#446: Removed unecessary call to wg.Wait
Browse files Browse the repository at this point in the history
Signed-off-by: Brandon Forster <me@brandonforster.com>
  • Loading branch information
brandonforster committed Apr 7, 2020
1 parent 72b46d5 commit ee9a22e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/clients/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,4 @@ func initializeClients(ctx context.Context, waitGroup *sync.WaitGroup) {
common.APIValueDescriptorRoute,
),
)

if common.RegistryClient != nil {
// wait for the first endpoint discovery to make sure all clients work
waitGroup.Wait()
}
}

0 comments on commit ee9a22e

Please sign in to comment.