mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-24 00:00:52 +00:00
fix: Fix the problem of the failure of 1pctl update port (#9199)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user