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 bc09ca0 commit 1750ca8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/common/discovery/etcd/config_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package etcd

import (
"context"
"fmt"
"os"
"os/exec"
"runtime"
Expand Down Expand Up @@ -104,6 +105,7 @@ func restartServer(ctx context.Context) error {
if err != nil {
return errs.New("restart server fail").Wrap()
}
fmt.Println(cmd.String())

os.Exit(0)
return nil
Expand Down

0 comments on commit 1750ca8

Please sign in to comment.