fix: docker 状态判断逻辑修改 (#1073)

This commit is contained in:
ssongliu
2023-05-18 16:46:13 +08:00
committed by GitHub
parent 8c4016792b
commit 72bc99bddc
7 changed files with 47 additions and 101 deletions
+1 -3
View File
@@ -16,7 +16,5 @@ type DaemonJsonConf struct {
}
type DockerOperation struct {
StopSocket bool `json:"stopSocket"`
StopService bool `json:"stopService"`
Operation string `json:"operation" validate:"required,oneof=start restart stop"`
Operation string `json:"operation" validate:"required,oneof=start restart stop"`
}