From ceb46b5f386fdad1cdd7f727b2c698042bff5be6 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Fri, 24 May 2024 00:04:14 +0800 Subject: [PATCH] 1231231 --- library/httpserver/httpserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/httpserver/httpserver.go b/library/httpserver/httpserver.go index a7c86255..4381a968 100644 --- a/library/httpserver/httpserver.go +++ b/library/httpserver/httpserver.go @@ -58,7 +58,7 @@ func StartOfflineHttpServer(srv *http.Server, cfg *configcenter.DefaultConfig) { ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second) defer cancel() if err := srv.Shutdown(ctx); err != nil { - log.Fatal("Server Shutdown:", err) + logger.Fatal("Server Shutdown:", err) } select {