diff options
| author | Dan Prince <dan.prince@rackspace.com> | 2011-07-14 13:44:56 -0400 |
|---|---|---|
| committer | Dan Prince <dan.prince@rackspace.com> | 2011-07-14 13:44:56 -0400 |
| commit | 6c3a8e16fb1347b0b5ecfc1850a4de5807004a2e (patch) | |
| tree | 40e628db07a3e8b02dabd4fbcddbb484603d0f0e | |
| parent | fa2cdbc5d4201ace6c1a6459bbd653b0b63b7667 (diff) | |
| download | nova-6c3a8e16fb1347b0b5ecfc1850a4de5807004a2e.tar.gz nova-6c3a8e16fb1347b0b5ecfc1850a4de5807004a2e.tar.xz nova-6c3a8e16fb1347b0b5ecfc1850a4de5807004a2e.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-x | plugins/xenserver/xenapi/etc/xapi.d/plugins/agent | 2 |
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' |
