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:
Mihaela Stoica 2015-03-12 12:34:51 +00:00
parent 65372d88b1
commit a71143c720

View File

@ -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);
}
}
}