ne & param

This commit is contained in:
2023-10-08 14:18:18 +08:00
parent c209873f6c
commit 57659de7a2
2 changed files with 7 additions and 6 deletions

View File

@@ -897,7 +897,8 @@ func PostNeInstanceAction(w http.ResponseWriter, r *http.Request) {
return
}
default:
log.Error("Faile to execute ssh sudo systemctl command:", err)
err = global.ErrCMUnknownInstanceAction
log.Error("%v, action:%s", err, action)
services.ResponseInternalServerError500ProcessError(w, err)
return
}