Fix storage wrapper being called with null
This commit is contained in:
parent
99d46af0b4
commit
0ae7a49c8e
|
@ -161,6 +161,6 @@ class Mount {
|
||||||
* @param callable $wrapper
|
* @param callable $wrapper
|
||||||
*/
|
*/
|
||||||
public function wrapStorage($wrapper) {
|
public function wrapStorage($wrapper) {
|
||||||
$this->storage = $wrapper($this->mountPoint, $this->storage);
|
$this->storage = $wrapper($this->mountPoint, $this->getStorage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue