X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=userconfighandlers%2Fstoragehandler%2Fstoragehandler.py;h=8d6ad08ed6dc583c737599d5892f1230af9fc8e6;hb=HEAD;hp=0269a0a565a9328d80cdc31b8b724ca35de0e0ad;hpb=a7a7b7b7429a60e9ee34459857862e7e64e8d306;p=ta%2Fcm-plugins.git 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)