wait until bucket exists after the creation

This commit is contained in:
Christian Berendt 2013-07-08 15:00:07 +02:00
parent 911e947fd7
commit fdeb21ba5b
1 changed files with 3 additions and 0 deletions

View File

@ -83,6 +83,9 @@ class AmazonS3 extends \OC\Files\Storage\Common {
$result = $this->connection->createBucket(array(
'Bucket' => $this->bucket
));
$this->connection->waitUntilBucketExists(array(
'Bucket' => $this->bucket
));
}
if ( ! $this->file_exists('.')) {