From 5ddd761310960485ba3efd20100f2146a79a0eda Mon Sep 17 00:00:00 2001 From: Janos Guljas Date: Thu, 26 Sep 2019 00:07:36 +0200 Subject: [PATCH] servers: redundant return statements --- servers/servers.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/servers/servers.go b/servers/servers.go index 6d2b296..e190b0c 100644 --- a/servers/servers.go +++ b/servers/servers.go @@ -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. @@ -263,5 +262,4 @@ func (s *Servers) Shutdown(ctx context.Context) { }(srv) } wg.Wait() - return }