CID-1222206: Remove DLS from XenServer56FP1Resource

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit b3946802e3a94e60a567fd4cb56f9da8f481ab95)
This commit is contained in:
Rohit Yadav 2014-09-25 16:48:27 +02:00 committed by David Nalley
parent b4a2640764
commit 5309aa3dd9

View File

@ -118,11 +118,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;
}
}