Merge "Correction in log massage format syntax"

This commit is contained in:
Jenkins 2016-09-02 17:27:44 +00:00 committed by Gerrit Code Review
commit e29c870822

View File

@ -593,7 +593,7 @@ class HPE3PARCommon(object):
volume_update['status'] = 'deleted'
except Exception as ex:
LOG.error(_LE("There was an error deleting volume %(id)s: "
"%(error)."),
"%(error)s."),
{'id': volume.id,
'error': six.text_type(ex)})
volume_update['status'] = 'error'
@ -693,7 +693,7 @@ class HPE3PARCommon(object):
snapshot_update['status'] = fields.SnapshotStatus.ERROR
except Exception as ex:
LOG.error(_LE("There was an error deleting snapshot %(id)s: "
"%(error)."),
"%(error)s."),
{'id': snapshot['id'],
'error': six.text_type(ex)})
snapshot_update['status'] = fields.SnapshotStatus.ERROR