mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
CA-184521: Removed unnecessary code
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
parent
ef02590008
commit
3abedfe3bd
@ -2135,7 +2135,7 @@ namespace XenAdmin.Core
|
||||
long.TryParse(vdi.sm_config["initial_allocation"], out initialAllocationVdi);
|
||||
|
||||
long initialAllocationSr = -1;
|
||||
if (sr.IsThinProvisioned && sr.sm_config.ContainsKey("initial_allocation") && sr.sm_config != null)
|
||||
if (sr.sm_config != null && sr.sm_config.ContainsKey("initial_allocation"))
|
||||
long.TryParse(sr.sm_config["initial_allocation"], out initialAllocationSr);
|
||||
|
||||
if (initialAllocationVdi > -1)
|
||||
|
Loading…
Reference in New Issue
Block a user