mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #3202 from owncloud/swift_id
Set storage id for openstack swift backend
This commit is contained in:
commit
db49b0aff8
1 changed files with 1 additions and 0 deletions
|
|
@ -287,6 +287,7 @@ class SWIFT extends \OC\Files\Storage\Common{
|
|||
if ( ! $this->root || $this->root[0]!='/') {
|
||||
$this->root='/'.$this->root;
|
||||
}
|
||||
$this->id = 'swift:' . $this->host . ':'.$this->root . ':' . $this->user;
|
||||
} else {
|
||||
throw new \Exception();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue