From a2bcbb83cdc274b6bb6ef4fbc249467cabb972e2 Mon Sep 17 00:00:00 2001 From: tangbin Date: Thu, 2 Jul 2020 11:51:45 +0800 Subject: [PATCH] cluster_d required->optional --- pkg/compute/models/loadbalancerclusterresource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compute/models/loadbalancerclusterresource.go b/pkg/compute/models/loadbalancerclusterresource.go index e3157eb055..15b4faa034 100644 --- a/pkg/compute/models/loadbalancerclusterresource.go +++ b/pkg/compute/models/loadbalancerclusterresource.go @@ -33,7 +33,7 @@ import ( type SLoadbalancerClusterResourceBase struct { // 归属LB集群 - ClusterId string `width:"36" charset:"ascii" nullable:"false" list:"user" update:"user" create:"required" json:"cluster_id"` + ClusterId string `width:"36" charset:"ascii" nullable:"false" list:"user" update:"user" create:"optional" json:"cluster_id"` } type SLoadbalancerClusterResourceBaseManager struct {