mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-09 11:55:52 +08:00
fix: Fix the problem of the failure of 1pctl update port (#9199)
This commit is contained in:
parent
bb99853000
commit
cf230ca6e7
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue