Skip to content

Commit

Permalink
fix: 修复elastic cache sku zone_id异常问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Qu Xuan committed Jul 7, 2020
1 parent acdc1da commit 76906ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/compute/models/elasticcache_skus.go
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,8 @@ func (self *SElasticcacheSku) syncWithCloudSku(ctx context.Context, userCred mcc
_, err := db.Update(self, func() error {
self.PrepaidStatus = extSku.PrepaidStatus
self.PostpaidStatus = extSku.PostpaidStatus
self.ZoneId = extSku.ZoneId
self.SlaveZoneId = extSku.SlaveZoneId
return nil
})
return err
Expand Down

0 comments on commit 76906ef

Please sign in to comment.