]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Fix incorrect calls to create and delete S3 buckets in S3Container. refs #1971
authorDaira Hopwood <david-sarah@jacaranda.org>
Fri, 17 May 2013 17:12:20 +0000 (18:12 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 10 Jul 2015 05:10:30 +0000 (06:10 +0100)
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
src/allmydata/storage/backends/cloud/s3/s3_container.py

index 0a9b8af673bb1af387d274408bfea60a6e789740..3391300aee4f48f0edde07a1bf3805180b129d0c 100644 (file)
@@ -56,10 +56,10 @@ class S3Container(ContainerRetryMixin, ContainerListMixin):
         return ("<%s %r>" % (self.__class__.__name__, self.container_name,))
 
     def create(self):
-        return self._do_request('create bucket', self.client.create, self.container_name)
+        return self._do_request('create bucket', self.client.create_bucket, self.container_name)
 
     def delete(self):
-        return self._do_request('delete bucket', self.client.delete, self.container_name)
+        return self._do_request('delete bucket', self.client.delete_bucket, self.container_name)
 
     def list_some_objects(self, **kwargs):
         return self._do_request('list objects', self.client.get_bucket, self.container_name, **kwargs)