Skip to content

Commit

Permalink
Merge pull request #1114 from ioito/automated-cherry-pick-of-#1112-up…
Browse files Browse the repository at this point in the history
…stream-release-3.11

Automated cherry pick of #1112: fix: remove dstack
  • Loading branch information
ioito authored Nov 14, 2024
2 parents 12e4e04 + 6f0fc77 commit d753b5c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions pkg/apis/compute/cloudaccount_const.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ const (
CLOUD_PROVIDER_HEALTH_ARREARS = "arrears" // 远端处于欠费状态
CLOUD_PROVIDER_HEALTH_UNKNOWN = "unknown" // 未知状态,查询失败
CLOUD_PROVIDER_HEALTH_NO_PERMISSION = "no permission" // 没有权限获取账单信息

ZSTACK_BRAND_DSTACK = "DStack"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/multicloud/zstack/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (self *SZStackProviderFactory) GetName() string {
}

func (self *SZStackProviderFactory) GetSupportedBrands() []string {
return []string{api.ZSTACK_BRAND_DSTACK}
return []string{}
}

func (self *SZStackProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error) {
Expand Down

0 comments on commit d753b5c

Please sign in to comment.