We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a899685 commit 3850e39Copy full SHA for 3850e39
1 file changed
cloudbridge/cloud/providers/aws/services.py
@@ -318,9 +318,8 @@ def get(self, bucket_id):
318
log.warning("AWS Bucket %s already exists but user doesn't "
319
"have enough permissions to access the bucket",
320
bucket_id)
321
- bucket = self.provider.s3_conn.get_bucket(bucket_id,
322
- validate=False)
323
- return AWSBucket(self.provider, bucket)
+ return AWSBucket(self.provider,
+ self.provider.s3_conn.Bucket(bucket_id))
324
# For all other responses, it's assumed that the bucket does not exist.
325
return None
326
0 commit comments