- CLOUDSTACK-3229: Passes the bucket name as "bucket" into the s3xen

plugin
This commit is contained in:
John Burwell 2013-07-31 09:57:07 -04:00
parent 980b227817
commit ceed152426
2 changed files with 2 additions and 2 deletions

View File

@ -7388,7 +7388,7 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
serializeProperties(s3, S3Utils.ClientOptions.class));
parameters.addAll(Arrays.asList("operation", "put", "directory",
dir, "filename", filename, "iSCSIFlag",
iSCSIFlag.toString(), "key", key));
iSCSIFlag.toString(), "bucket", s3.getBucketName(), "key", key));
final String result = callHostPluginAsync(connection, "s3xen",
"s3", wait,
parameters.toArray(new String[parameters.size()]));

View File

@ -1129,7 +1129,7 @@ public class XenServerStorageProcessor implements StorageProcessor {
serializeProperties(s3, S3Utils.ClientOptions.class));
parameters.addAll(Arrays.asList("operation", "put", "directory",
dir, "filename", filename, "iSCSIFlag",
iSCSIFlag.toString(), "key", key));
iSCSIFlag.toString(), "bucket", s3.getBucketName(), "key", key));
final String result = hypervisorResource.callHostPluginAsync(connection, "s3xen",
"s3", wait,
parameters.toArray(new String[parameters.size()]));