mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-27 02:56:01 +01:00
Merge pull request #691 from MihaelaStoica/CA-183959
CA-183959: Storage page of New VM wizard should not display over-comm…
This commit is contained in:
commit
db9730b1d9
@ -259,10 +259,8 @@ namespace XenAdmin.Wizards.NewVMWizard
|
|||||||
|
|
||||||
if (sr.FreeSpace < totalDiskInitialAllocation[sr.opaque_ref])
|
if (sr.FreeSpace < totalDiskInitialAllocation[sr.opaque_ref])
|
||||||
overcommitedDisk = item.OverCommit = DiskOverCommit.Error;
|
overcommitedDisk = item.OverCommit = DiskOverCommit.Error;
|
||||||
else if (sr.FreeSpace < totalDiskSize[sr.opaque_ref])
|
|
||||||
overcommitedDisk = item.OverCommit = DiskOverCommit.Warning;
|
|
||||||
|
|
||||||
if (overcommitedDisk != DiskOverCommit.None)
|
if (item.OverCommit != DiskOverCommit.None)
|
||||||
{
|
{
|
||||||
item.ImageToolTip = sr.IsThinProvisioned ?
|
item.ImageToolTip = sr.IsThinProvisioned ?
|
||||||
string.Format(Messages.NEWVMWIZARD_STORAGEPAGE_SROVERCOMMIT_THIN,
|
string.Format(Messages.NEWVMWIZARD_STORAGEPAGE_SROVERCOMMIT_THIN,
|
||||||
|
Loading…
Reference in New Issue
Block a user