From 28a80ac52e518d3a5eff8b8eaeb0d2b3688bb4f1 Mon Sep 17 00:00:00 2001 From: Qu Xuan Date: Tue, 28 Jul 2020 19:46:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=90=8C=E6=AD=A5sku=E4=B8=8E=E7=A3=81?= =?UTF-8?q?=E7=9B=98=E7=B1=BB=E5=9E=8B=E5=85=B3=E7=B3=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/compute/models/skus.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/compute/models/skus.go b/pkg/compute/models/skus.go index 020bd633024..8f153ab70e6 100644 --- a/pkg/compute/models/skus.go +++ b/pkg/compute/models/skus.go @@ -1203,6 +1203,8 @@ func (self *SServerSku) syncWithCloudSku(ctx context.Context, userCred mcclient. self.ZoneId = extSku.ZoneId self.PrepaidStatus = extSku.PrepaidStatus self.PostpaidStatus = extSku.PostpaidStatus + self.SysDiskType = extSku.SysDiskType + self.DataDiskTypes = extSku.DataDiskTypes return nil }) return err