summaryrefslogtreecommitdiff
path: root/ceilometer/gnocchi_client.py
diff options
context:
space:
mode:
authorHanxi Liu <hanxi.liu@easystack.cn>2016-11-18 23:38:16 +0800
committerHanxi Liu <hanxi.liu@easystack.cn>2016-11-18 23:38:16 +0800
commitbbcf7e0b00c45595e08acef6c7b34916152866b6 (patch)
treec6549101474b5ecdbbe5966785b7e27c300dea1f /ceilometer/gnocchi_client.py
parent6ddaa884ec410dd4323e658470f108c7b253f368 (diff)
downloadceilometer-bbcf7e0b00c45595e08acef6c7b34916152866b6.tar.gz
comment: remove unused comment
When we use ceilometer-upgrade, we get the same gnocchi resources as gnocchi-upgrade produces. To avoid confusing people with the duplicate resources, we will drop the gnocchi side. So the comment has no sense. Change-Id: Id5e31e3c2015a65d63a7ad787a93036c6214c279
Diffstat (limited to 'ceilometer/gnocchi_client.py')
-rw-r--r--ceilometer/gnocchi_client.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/ceilometer/gnocchi_client.py b/ceilometer/gnocchi_client.py
index 28019e20..cceb78d6 100644
--- a/ceilometer/gnocchi_client.py
+++ b/ceilometer/gnocchi_client.py
@@ -110,9 +110,6 @@ resources_initial = {
def upgrade_resource_types(conf):
gnocchi = get_gnocchiclient(conf)
- # TODO(sileht): Detect what is the version of the schema created
- # in Gnocchi, we don't have local database to store this.
- # For now we can upgrade the schema so we are safe :p
for name, attributes in resources_initial.items():
try:
gnocchi.resource_type.get(name=name)