Set storage id for openstack swift backend
This commit is contained in:
parent
1f194b7bdc
commit
4c980b1a14
|
@ -287,6 +287,7 @@ class SWIFT extends \OC\Files\Storage\Common{
|
||||||
if ( ! $this->root || $this->root[0]!='/') {
|
if ( ! $this->root || $this->root[0]!='/') {
|
||||||
$this->root='/'.$this->root;
|
$this->root='/'.$this->root;
|
||||||
}
|
}
|
||||||
|
$this->id = 'swift:' . $this->host . ':'.$this->root . ':' . $this->user;
|
||||||
} else {
|
} else {
|
||||||
throw new \Exception();
|
throw new \Exception();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue