mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
CA-164176: Make sure that the Install Update does not get stuck on precheck stage after cleanup on slave
- override the Equals function on HostOutOfSpaceProblem to check the disk space requirements, not the Description. Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
parent
65372d88b1
commit
a71143c720
@ -115,5 +115,13 @@ namespace XenAdmin.Diagnostics.Problems.HostProblem
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
var other = obj as HostOutOfSpaceProblem;
|
||||
if (other == null || diskSpaceReq == null || other.diskSpaceReq == null)
|
||||
return false;
|
||||
return diskSpaceReq.Equals(other.diskSpaceReq);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user