fix: Fix the problem of the failure of 1pctl update port (#9199)

This commit is contained in:
ssongliu
2025-06-20 06:45:13 +00:00
committed by GitHub
parent bb99853000
commit cf230ca6e7
+1 -1
View File
@@ -209,7 +209,7 @@ func port() {
fmt.Println("\n" + i18n.GetMsgByKeyForCmd("UpdateSuccessful"))
fmt.Println(i18n.GetMsgWithMapForCmd("UpdatePortResult", map[string]interface{}{"name": newPortStr}))
std, err := cmd.RunDefaultWithStdoutBashC("1pctl restart")
std, err := cmd.RunDefaultWithStdoutBashC("1pctl restart core")
if err != nil {
fmt.Println(std)
}