Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Commit 0a63b13

Browse files
committed
Fixed creating bucket in amazons3 adapter
1 parent 69ca43e commit 0a63b13

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Dmyers/Storage/Adapter/AmazonS3.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,12 @@ public function url($path)
215215
protected function ensureBucketExists()
216216
{
217217
if (!$this->bucketExists()) {
218-
$client->createBucket(array(
219-
'Bucket' => $bucket,
218+
$this->client->createBucket(array(
219+
'Bucket' => $this->bucket,
220220
));
221221

222-
$client->waitUntilBucketExists(array(
223-
'Bucket' => $bucket,
222+
$this->client->waitUntilBucketExists(array(
223+
'Bucket' => $this->bucket,
224224
));
225225
}
226226
}

0 commit comments

Comments
 (0)