1231231 #484

Merged
chenhao merged 1 commits from feat-IRONFANS-133-Robin into test 2024-05-24 00:04:31 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit ceb46b5f38 - Show all commits

View File

@ -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 {