fix objectstore test execution

This commit is contained in:
Jörn Friedrich Dreyer 2014-06-26 11:30:00 +02:00
parent 42e9d49d72
commit f96a535f80
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ class Swift implements IObjectStore {
$this->container = $this->objectStoreService->getContainer($this->params['container']);
} catch (ClientErrorResponseException $ex) {
// if the container does not exist and autocreate is true try to create the container on the fly
if (isset($params['autocreate']) && $params['autocreate'] === true) {
if (isset($this->params['autocreate']) && $this->params['autocreate'] === true) {
$this->container = $this->objectStoreService->createContainer($this->params['container']);
} else {
throw $ex;