summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Prince <dan.prince@rackspace.com>2011-07-15 12:51:30 +0000
committerTarmac <>2011-07-15 12:51:30 +0000
commitb3532071f61fb8e66aa76fe66a71c704a119780f (patch)
treeb39673d62056b39edca425c8ea777140d3ad9ce5
parentad700b0ecec0ffd8ed9c08caeb8f1f75fc4b482f (diff)
parent6c3a8e16fb1347b0b5ecfc1850a4de5807004a2e (diff)
downloadnova-b3532071f61fb8e66aa76fe66a71c704a119780f.tar.gz
nova-b3532071f61fb8e66aa76fe66a71c704a119780f.tar.xz
nova-b3532071f61fb8e66aa76fe66a71c704a119780f.zip
Update the agent plugin so that it gets 'b64_contents' from the args dict instead of 'b64_file' (which isn't what nova sends).
-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 b8a1b936a..68d7e7bff 100755
--- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/agent
+++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/agent
@@ -127,7 +127,7 @@ def inject_file(self, arg_dict):
been disabled, and raise a NotImplemented error if that is the case.
"""
b64_path = arg_dict["b64_path"]
- b64_file = arg_dict["b64_file"]
+ b64_file = arg_dict["b64_contents"]
request_id = arg_dict["id"]
if self._agent_has_method("file_inject"):
# New version of the agent. Agent should receive a 'value'