集群可以设置默认的WAF策略、缓存策略

This commit is contained in:
GoEdgeLab
2020-12-17 15:50:44 +08:00
parent ee549b945d
commit 41ac159e23
100 changed files with 1172 additions and 488 deletions

View File

@@ -114,12 +114,12 @@ func (this *IndexAction) RunPost(params struct {
}
_, err := this.RPC().ServerRPC().UpdateServerBasic(this.AdminContext(), &pb.UpdateServerBasicRequest{
ServerId: params.ServerId,
Name: params.Name,
Description: params.Description,
ClusterId: params.ClusterId,
IsOn: params.IsOn,
GroupIds: params.GroupIds,
ServerId: params.ServerId,
Name: params.Name,
Description: params.Description,
NodeClusterId: params.ClusterId,
IsOn: params.IsOn,
GroupIds: params.GroupIds,
})
if err != nil {
this.ErrorPage(err)