Skip to content

Commit 5ddd761

Browse files
committed
servers: redundant return statements
1 parent a92b846 commit 5ddd761

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

servers/servers.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ func (s *Servers) Close() {
244244
}(srv)
245245
}
246246
wg.Wait()
247-
return
248247
}
249248

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

0 commit comments

Comments
 (0)