单个服务切换集群时可以选择是否保留节点上的配置/总是可以切换集群,不再受所属用户的影响

This commit is contained in:
GoEdgeLab
2022-04-18 17:18:39 +08:00
parent 9932def081
commit 3c90c5c72d
4 changed files with 20 additions and 12 deletions

View File

@@ -147,13 +147,14 @@ func (this *IndexAction) RunGet(params struct {
// RunPost 保存
func (this *IndexAction) RunPost(params struct {
ServerId int64
Name string
Description string
ClusterId int64
GroupIds []int64
IsOn bool
UserPlanId int64
ServerId int64
Name string
Description string
ClusterId int64
KeepOldConfigs bool
GroupIds []int64
IsOn bool
UserPlanId int64
Must *actions.Must
}) {
@@ -174,6 +175,7 @@ func (this *IndexAction) RunPost(params struct {
Name: params.Name,
Description: params.Description,
NodeClusterId: params.ClusterId,
KeepOldConfigs: params.KeepOldConfigs,
IsOn: params.IsOn,
ServerGroupIds: params.GroupIds,
})