Skip to content

Commit

Permalink
servers: redundant return statements
Browse files Browse the repository at this point in the history
  • Loading branch information
janos committed Sep 25, 2019
1 parent a92b846 commit 5ddd761
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions servers/servers.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ func (s *Servers) Close() {
}(srv)
}
wg.Wait()
return
}

// Shutdown gracefully stops all servers, by calling Shutdown method on each of them.
Expand All @@ -263,5 +262,4 @@ func (s *Servers) Shutdown(ctx context.Context) {
}(srv)
}
wg.Wait()
return
}

0 comments on commit 5ddd761

Please sign in to comment.