Correction in log massage format syntax
Dictionary key used wrongly as '%(key)' instead of '%(key)s' while formatting log message. Change-Id: I2e31bfdac1021ee00bb001283c4f4ea9c273bc4c Closes-bug: #1619584
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user