From 541120dea657b44bc8db3a4c75c36acbd61b17c0 Mon Sep 17 00:00:00 2001 From: icey-yu <1186114839@qq.com> Date: Wed, 25 Dec 2024 16:15:20 +0800 Subject: [PATCH] fix: config --- internal/msggateway/ws_server.go | 1 + pkg/common/discovery/etcd/config_manager.go | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/internal/msggateway/ws_server.go b/internal/msggateway/ws_server.go index 51021ab630..9e88f4536c 100644 --- a/internal/msggateway/ws_server.go +++ b/internal/msggateway/ws_server.go @@ -196,6 +196,7 @@ func (ws *WsServer) Run(done chan error) error { if sErr != nil { return errs.WrapMsg(sErr, "shutdown err") } + fmt.Println("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA") close(shutdownDone) return nil } diff --git a/pkg/common/discovery/etcd/config_manager.go b/pkg/common/discovery/etcd/config_manager.go index 0d9a906705..b2e47a54e8 100644 --- a/pkg/common/discovery/etcd/config_manager.go +++ b/pkg/common/discovery/etcd/config_manager.go @@ -2,7 +2,6 @@ package etcd import ( "context" - "fmt" "os" "os/exec" "runtime" @@ -105,9 +104,6 @@ func restartServer(ctx context.Context) error { if err != nil { return errs.New("restart server fail").Wrap() } - fmt.Println("::::::::::::::::::::::::::::::::::::::::::::::::::::") - fmt.Println(cmd.String()) - fmt.Println("::::::::::::::::::::::::::::::::::::::::::::::::::::") os.Exit(0) return nil