From c47fc70c6f8ee3b19f1e46feda03f5c226c2193a Mon Sep 17 00:00:00 2001 From: "user.name" Date: Tue, 11 Jun 2019 15:02:57 +0200 Subject: [PATCH] openstack storage backend check removed Change-Id: I796bbc8fe67336a5690a711a37c55ba24905003d --- userconfighandlers/storagehandler/storagehandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userconfighandlers/storagehandler/storagehandler.py b/userconfighandlers/storagehandler/storagehandler.py index 0269a0a..8d6ad08 100644 --- a/userconfighandlers/storagehandler/storagehandler.py +++ b/userconfighandlers/storagehandler/storagehandler.py @@ -51,7 +51,7 @@ class storagehandler(cmuserconfig.CMUserConfigPlugin): """TODO: Set these dynamically according to user configuration instead.""" try: self._set_handlers(confman) - if (self._backend == 'ceph') and ('ceph' in self._storage_backends): + if ('ceph' in self._storage_backends): if self.storage_config_handler.is_ceph_enabled(): self.storage_config_handler.set_mons(self._managements) self.storage_config_handler.set_ceph_mons(self._managements) -- 2.16.6