Skip to content

Commit b394680

Browse files
committed
CID-1222206: Remove DLS from XenServer56FP1Resource
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent f40f16b commit b394680

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/XenServer56FP1Resource.java‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,8 @@ protected FenceAnswer execute(FenceCommand cmd) {
119119
*/
120120
@Override
121121
protected boolean isDmcEnabled(Connection conn, Host host) throws XenAPIException, XmlRpcException {
122-
Map<String, String> hostParams = new HashMap<String, String>();
123-
hostParams = host.getLicenseParams(conn);
124-
122+
Map<String, String> hostParams = host.getLicenseParams(conn);
125123
Boolean isDmcEnabled = hostParams.get("restrict_dmc").equalsIgnoreCase("false");
126-
127124
return isDmcEnabled;
128125
}
129126
}

0 commit comments

Comments
 (0)