Don't require gnocchiclient
Closes-Bug: 1621384 Change-Id: I0480f2dd5e022c1abe210325eb86b5e51582c18d
This commit is contained in:
parent
f78849c966
commit
18ad1c1519
@ -21,7 +21,6 @@ import six.moves.urllib.parse as urlparse
|
||||
import sqlalchemy as sa
|
||||
|
||||
from ceilometer.i18n import _LE, _LI, _LW
|
||||
from ceilometer import gnocchi_client
|
||||
from ceilometer import service
|
||||
from ceilometer import storage
|
||||
|
||||
@ -58,6 +57,7 @@ def upgrade(default_skip_gnocchi_resource_types=False):
|
||||
LOG.info("Skipping Gnocchi resource types upgrade")
|
||||
else:
|
||||
LOG.debug("Upgrading Gnocchi resource types")
|
||||
from ceilometer import gnocchi_client
|
||||
gnocchi_client.upgrade_resource_types(cfg.CONF)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user