Skip to content

Commit

Permalink
fix: config
Browse files Browse the repository at this point in the history
  • Loading branch information
icey-yu committed Dec 25, 2024
1 parent 8a9c921 commit 541120d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions internal/msggateway/ws_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
4 changes: 0 additions & 4 deletions pkg/common/discovery/etcd/config_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package etcd

import (
"context"
"fmt"
"os"
"os/exec"
"runtime"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 541120d

Please sign in to comment.