Skip to content

Commit

Permalink
fix: 同步sku与磁盘类型关系
Browse files Browse the repository at this point in the history
  • Loading branch information
Qu Xuan committed Jul 28, 2020
1 parent 843c52c commit 28a80ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/compute/models/skus.go
Expand Up @@ -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
Expand Down

0 comments on commit 28a80ac

Please sign in to comment.