diff options
Diffstat (limited to 'internal/server/server.go')
-rw-r--r-- | internal/server/server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/server/server.go b/internal/server/server.go index b9db417..60b20d2 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -173,9 +173,9 @@ func New(runtimeConfig *Config) (*Server, error) { func (s *Server) serve(tls bool) error { if tls { return s.serveTLS() - } else { - return s.serveTCP() } + + return s.serveTCP() } func (s *Server) Start() error { |