From 05f27b5b5cefded18a6e9a3727d9683376de2c43 Mon Sep 17 00:00:00 2001 From: Qu Xuan Date: Mon, 18 Oct 2021 16:12:12 +0800 Subject: [PATCH] fix(region): capacities overflow with azure --- pkg/compute/models/cloudprovidercapacities.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compute/models/cloudprovidercapacities.go b/pkg/compute/models/cloudprovidercapacities.go index 5ae21a3f8f..13e14cdfcc 100644 --- a/pkg/compute/models/cloudprovidercapacities.go +++ b/pkg/compute/models/cloudprovidercapacities.go @@ -50,7 +50,7 @@ type SCloudproviderCapability struct { CloudproviderId string `width:"36" charset:"ascii" nullable:"false" primary:"true"` CloudregionId string `width:"36" charset:"ascii" nullable:"false" default:"" primary:"true"` - Capability string `width:"18" charset:"ascii" nullable:"false" primary:"true"` + Capability string `width:"36" charset:"ascii" nullable:"false" primary:"true"` } func (self *SCloudproviderCapability) GetId() string {