diff --git a/bcs-services/bcs-cluster-manager/api/clustermanager/clustermanager.pb.go b/bcs-services/bcs-cluster-manager/api/clustermanager/clustermanager.pb.go index 07b42818cf..5771500e2a 100644 --- a/bcs-services/bcs-cluster-manager/api/clustermanager/clustermanager.pb.go +++ b/bcs-services/bcs-cluster-manager/api/clustermanager/clustermanager.pb.go @@ -6405,7 +6405,7 @@ func (m *InstanceChargePrepaid) GetRenewFlag() string { return "" } -//LaunchConfigure template for scaling node +// LaunchConfigure template for scaling node type LaunchConfiguration struct { LaunchConfigurationID string `protobuf:"bytes,1,opt,name=launchConfigurationID,proto3" json:"launchConfigurationID,omitempty"` LaunchConfigureName string `protobuf:"bytes,2,opt,name=launchConfigureName,proto3" json:"launchConfigureName,omitempty"` diff --git a/bcs-services/bcs-cluster-manager/internal/cloudprovider/azure/node.go b/bcs-services/bcs-cluster-manager/internal/cloudprovider/azure/node.go index a390432b9b..1daaad1606 100644 --- a/bcs-services/bcs-cluster-manager/internal/cloudprovider/azure/node.go +++ b/bcs-services/bcs-cluster-manager/internal/cloudprovider/azure/node.go @@ -217,7 +217,7 @@ func (n *NodeManager) GetServiceRoles(opt *cloudprovider.CommonOption, roleType } // ListDiskTypes get disk type list -func (nm *NodeManager) ListDiskTypes(instanceTypes []string, zones []string, opt *cloudprovider.CommonOption) ( +func (n *NodeManager) ListDiskTypes(instanceTypes []string, zones []string, opt *cloudprovider.CommonOption) ( map[string]string, error) { return nil, cloudprovider.ErrCloudNotImplemented } diff --git a/bcs-services/bcs-cluster-manager/internal/cloudprovider/eop/nodemgr.go b/bcs-services/bcs-cluster-manager/internal/cloudprovider/eop/nodemgr.go index 1467f712ce..dc16d1a9c2 100644 --- a/bcs-services/bcs-cluster-manager/internal/cloudprovider/eop/nodemgr.go +++ b/bcs-services/bcs-cluster-manager/internal/cloudprovider/eop/nodemgr.go @@ -140,7 +140,7 @@ func (n *NodeManager) GetServiceRoles(opt *cloudprovider.CommonOption, roleType } // ListDiskTypes get disk type list -func (nm *NodeManager) ListDiskTypes(instanceTypes []string, zones []string, opt *cloudprovider.CommonOption) ( +func (n *NodeManager) ListDiskTypes(instanceTypes []string, zones []string, opt *cloudprovider.CommonOption) ( map[string]string, error) { return nil, cloudprovider.ErrCloudNotImplemented } diff --git a/bcs-services/bcs-cluster-manager/internal/cloudprovider/qcloud-public/nodegroupmgr.go b/bcs-services/bcs-cluster-manager/internal/cloudprovider/qcloud-public/nodegroupmgr.go index f554f69838..82ac0864d9 100644 --- a/bcs-services/bcs-cluster-manager/internal/cloudprovider/qcloud-public/nodegroupmgr.go +++ b/bcs-services/bcs-cluster-manager/internal/cloudprovider/qcloud-public/nodegroupmgr.go @@ -920,4 +920,3 @@ func (ng *NodeGroup) GetProjectCaResourceQuota(groups []proto.NodeGroup, opt *cloudprovider.CommonOption) ([]*proto.ProjectAutoscalerQuota, error) { return nil, nil } - diff --git a/bcs-services/bcs-cluster-manager/internal/remote/cmdb/types.go b/bcs-services/bcs-cluster-manager/internal/remote/cmdb/types.go index 5bb957855d..3182dface6 100644 --- a/bcs-services/bcs-cluster-manager/internal/remote/cmdb/types.go +++ b/bcs-services/bcs-cluster-manager/internal/remote/cmdb/types.go @@ -105,9 +105,9 @@ func (c Condition) String() string { } var ( - and Condition = "AND" - or Condition = "OR" - in Condition = "IN"// nolint + and Condition = "AND" // nolint + or Condition = "OR" // nolint + in Condition = "IN" // nolint ) // Page page @@ -297,11 +297,11 @@ type HostDetailData struct { } const ( - keyBizID = "BsiId" - keySvrIP = "SvrIp" - methodBusiness = "Business" - methodServer = "Server" - methodBusinessRaw = "BusinessRaw" + keyBizID = "BsiId" // nolint + keySvrIP = "SvrIp" // nolint + methodBusiness = "Business" // nolint + methodServer = "Server" // nolint + methodBusinessRaw = "BusinessRaw" // nolint ) // BizInfo business id info