Correct code indent
Just correct code indent. Signed-off-by: Sébastien Cat <sebastien.cat@inra.fr>
This commit is contained in:
parent
77473b0228
commit
381ae44d38
|
@ -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']);
|
||||
|
|
Loading…
Reference in New Issue