mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
feat(climc): SERVERIDS of devtool batch apply
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user