feat(climc): SERVERIDS of devtool batch apply

This commit is contained in:
Zexi Li
2022-05-13 13:38:25 +08:00
parent 765ee46145
commit bf01361d3d
+2 -2
View File
@@ -41,7 +41,7 @@ func (so *ScriptOptions) Params() (jsonutils.JSONObject, error) {
}
type SscriptApplyOptions struct {
SERVERID string `help:"server id" json:"server_id"`
SERVERID []string `help:"server id" json:"server_id"`
}
type ScriptApplyOptions struct {
@@ -54,7 +54,7 @@ func (so *ScriptApplyOptions) Params() (jsonutils.JSONObject, error) {
}
type SscriptBatchApplyOptions struct {
ServerIds []string `help:"server id list"`
SERVERIDS []string `help:"server id list" json:"server_ids"`
}
type ScriptBatchApplyOptions struct {