mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #1168 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-check-space-limit-for-on-premise-cloud-only to release/2.6.0
* commit '8697124104916ce94b644a8606dd38e0d2d81bb1': 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