CID-1222206: Remove DLS from XenServer56FP1Resource

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2014-09-25 16:48:27 +02:00
parent f40f16b618
commit b3946802e3

View File

@ -119,11 +119,8 @@ public class XenServer56FP1Resource extends XenServer56Resource {
*/
@Override
protected boolean isDmcEnabled(Connection conn, Host host) throws XenAPIException, XmlRpcException {
Map<String, String> hostParams = new HashMap<String, String>();
hostParams = host.getLicenseParams(conn);
Map<String, String> hostParams = host.getLicenseParams(conn);
Boolean isDmcEnabled = hostParams.get("restrict_dmc").equalsIgnoreCase("false");
return isDmcEnabled;
}
}