mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-03 16:41:04 +01:00
CP-19086: In the PVS Cache configuration dialog, we shouldn't try to save a "not configured" site if it was "not configured" before
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
parent
af680eb6eb
commit
be668850a4
@ -167,8 +167,10 @@ namespace XenAdmin.Controls
|
||||
{
|
||||
get
|
||||
{
|
||||
if (OrigPvsCacheStorage == null || CacheSr == null)
|
||||
return true;
|
||||
if (OrigPvsCacheStorage == null)
|
||||
return CacheSr != null;
|
||||
if (CacheSr == null)
|
||||
return OrigPvsCacheStorage != null;
|
||||
return OrigPvsCacheStorage.SR.opaque_ref != CacheSr.opaque_ref || origCacheSizeGb != numericUpDownCacheSize.Value;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user