Merge "[Trivialfix]Fix typos in distil"
This commit is contained in:
commit
421f992f40
@ -135,7 +135,7 @@ class BaseCollector(object):
|
|||||||
root_vol = openstack.get_root_volume(entry['resource_id'])
|
root_vol = openstack.get_root_volume(entry['resource_id'])
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
LOG.warning(
|
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))
|
(entry['resource_id'], str(e))
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -160,7 +160,7 @@ class BaseCollector(object):
|
|||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
LOG.warning(
|
LOG.warning(
|
||||||
'Error occured when getting image %s, reason: %s' %
|
'Error occurred when getting image %s, reason: %s' %
|
||||||
(image_id, str(e))
|
(image_id, str(e))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -318,7 +318,7 @@ class OdooDriver(driver.BaseDriver):
|
|||||||
result[v['date_invoice']].update({'details': details})
|
result[v['date_invoice']].update({'details': details})
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
LOG.exception(
|
LOG.exception(
|
||||||
'Error occured when getting invoices from Odoo, '
|
'Error occurred when getting invoices from Odoo, '
|
||||||
'error: %s' % str(e)
|
'error: %s' % str(e)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ def sort_entries(data):
|
|||||||
|
|
||||||
|
|
||||||
class Tenant(object):
|
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):
|
def __init__(self, tenant, conn):
|
||||||
self.tenant = tenant
|
self.tenant = tenant
|
||||||
self.conn = conn # the Interface object that produced us.
|
self.conn = conn # the Interface object that produced us.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user