Correct code indent

Just correct code indent.

Signed-off-by: Sébastien Cat <sebastien.cat@inra.fr>
This commit is contained in:
S. Cat 2019-02-26 09:50:47 +01:00 committed by Sébastien Cat
parent 77473b0228
commit 381ae44d38
1 changed files with 5 additions and 5 deletions

View File

@ -100,12 +100,12 @@ trait S3ConnectionTrait {
$this->connection = new S3Client($options);
if (!$this->connection->isBucketDnsCompatible($this->bucket)) {
$logger = \OC::$server->getLogger();
$logger->warning('Bucket "' . $this->bucket . '" This bucket name is not dns compatible, it may contain invalid characters.',
['app' => 'objectstore']);
}
$logger = \OC::$server->getLogger();
$logger->warning('Bucket "' . $this->bucket . '" This bucket name is not dns compatible, it may contain invalid characters.',
['app' => 'objectstore']);
}
if (!$this->connection->doesBucketExist($this->bucket)) {
if (!$this->connection->doesBucketExist($this->bucket)) {
$logger = \OC::$server->getLogger();
try {
$logger->info('Bucket "' . $this->bucket . '" does not exist - creating it.', ['app' => 'objectstore']);