Typo fixing

Change-Id: I70b565f6cbb465fa3cc8fc9ad064e17c48a5bc8e
This commit is contained in:
Lianhao Lu 2015-09-06 10:33:45 +08:00
parent 69f1694247
commit 5657531353
3 changed files with 4 additions and 4 deletions
ceilometer
agent
dispatcher
hardware/inspector

@ -171,7 +171,7 @@ class ExtensionLoadError(Exception):
class PollsterPermanentError(Exception):
"""Permenant error when polling.
"""Permanent error when polling.
When unrecoverable error happened in polling, pollster can raise this
exception with failed resource to prevent itself from polling any more.

@ -234,7 +234,7 @@ class GnocchiDispatcher(dispatcher.Base):
project = self._ks_client.tenants.find(
name=self.conf.dispatcher_gnocchi.filter_project)
except Exception:
LOG.exception('fail to retreive user of Gnocchi service')
LOG.exception('fail to retrieve user of Gnocchi service')
raise
self._gnocchi_project_id = project.id
LOG.debug("gnocchi project found: %s", self.gnocchi_project_id)

@ -67,8 +67,8 @@ class SNMPInspector(base.Inspector):
_CACHE_KEY_OID = "snmp_cached_oid"
# NOTE: The folloing mapping has been moved to the yaml file identified by
# the config options hardware.meter_definitions_file. However, we still
# NOTE: The following mapping has been moved to the yaml file identified
# by the config options hardware.meter_definitions_file. However, we still
# keep the description here for code reading purpose.
"""