[Trivialfix]Fix typos in distil
Fix all the typos found in distil. Change-Id: Ibb889c510660bb2f9d7a847b75fb0deda3b5e3d3
This commit is contained in:
parent
e61b323a32
commit
b862ce2b1d
|
@ -135,7 +135,7 @@ class BaseCollector(object):
|
|||
root_vol = openstack.get_root_volume(entry['resource_id'])
|
||||
except Exception as e:
|
||||
LOG.warning(
|
||||
'Error occured when getting root_volume for %s, reason: %s' %
|
||||
'Error occurred when getting root_volume for %s, reason: %s' %
|
||||
(entry['resource_id'], str(e))
|
||||
)
|
||||
|
||||
|
@ -160,7 +160,7 @@ class BaseCollector(object):
|
|||
)
|
||||
except Exception as e:
|
||||
LOG.warning(
|
||||
'Error occured when getting image %s, reason: %s' %
|
||||
'Error occurred when getting image %s, reason: %s' %
|
||||
(image_id, str(e))
|
||||
)
|
||||
|
||||
|
|
|
@ -310,7 +310,7 @@ class OdooDriver(driver.BaseDriver):
|
|||
result[v['date_invoice']].update({'details': details})
|
||||
except Exception as e:
|
||||
LOG.exception(
|
||||
'Error occured when getting invoices from Odoo, '
|
||||
'Error occurred when getting invoices from Odoo, '
|
||||
'error: %s' % str(e)
|
||||
)
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@ def sort_entries(data):
|
|||
|
||||
|
||||
class Tenant(object):
|
||||
"""A wrapper object for the tenant recieved from keystone."""
|
||||
"""A wrapper object for the tenant received from keystone."""
|
||||
def __init__(self, tenant, conn):
|
||||
self.tenant = tenant
|
||||
self.conn = conn # the Interface object that produced us.
|
||||
|
|
Loading…
Reference in New Issue