summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xplugins/xenserver/xenapi/etc/xapi.d/plugins/agent2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/agent b/plugins/xenserver/xenapi/etc/xapi.d/plugins/agent
index 41225e6f3..8ec4fb061 100755
--- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/agent
+++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/agent
@@ -188,7 +188,7 @@ def _get_agent_features(self, arg_dict):
except TimeoutError, e:
raise PluginError(e)
response = json.loads(resp)
- if response['returncode'] != '0':
+ if response['returncode'] != 0:
return response["message"].split(",")
else:
return {}