From becede4bfead952239b9cf7c8eb9fb96d01534ec Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 25 Jun 2024 09:14:56 +0200 Subject: refactor/format --- internal/server/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/server/server.go') 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 { -- cgit 1.4.1