mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix: check storage space limit for on-premise cloud only
This commit is contained in:
@@ -1727,7 +1727,7 @@ func (self *SGuest) PerformChangeConfig(ctx context.Context, userCred mcclient.T
|
||||
}
|
||||
|
||||
provider, e := self.GetHost().GetProviderFactory()
|
||||
if e != nil || !provider.IsOnPremise() {
|
||||
if e != nil || provider.IsOnPremise() {
|
||||
for storageId, needSize := range diskSizes {
|
||||
iStorage, err := StorageManager.FetchById(storageId)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user