mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CID-1222206: Remove DLS from XenServer56FP1Resource
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
f40f16b618
commit
b3946802e3
@ -119,11 +119,8 @@ public class XenServer56FP1Resource extends XenServer56Resource {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected boolean isDmcEnabled(Connection conn, Host host) throws XenAPIException, XmlRpcException {
|
protected boolean isDmcEnabled(Connection conn, Host host) throws XenAPIException, XmlRpcException {
|
||||||
Map<String, String> hostParams = new HashMap<String, String>();
|
Map<String, String> hostParams = host.getLicenseParams(conn);
|
||||||
hostParams = host.getLicenseParams(conn);
|
|
||||||
|
|
||||||
Boolean isDmcEnabled = hostParams.get("restrict_dmc").equalsIgnoreCase("false");
|
Boolean isDmcEnabled = hostParams.get("restrict_dmc").equalsIgnoreCase("false");
|
||||||
|
|
||||||
return isDmcEnabled;
|
return isDmcEnabled;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user