Fix typo in log message
Fixed typo valude -> value in purge_deleted_rows() method of cinder.db.sqlalchemy.api in log message. Change-Id: Iebdb4790086bb1186051572a388c6ebba4101fbc
This commit is contained in:
@@ -3544,7 +3544,7 @@ def purge_deleted_rows(context, age_in_days):
|
|||||||
try:
|
try:
|
||||||
age_in_days = int(age_in_days)
|
age_in_days = int(age_in_days)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
msg = _LE('Invalid valude for age, %(age)s')
|
msg = _LE('Invalid value for age, %(age)s')
|
||||||
LOG.exception(msg, {'age': age_in_days})
|
LOG.exception(msg, {'age': age_in_days})
|
||||||
raise exception.InvalidParameterValue(msg % {'age': age_in_days})
|
raise exception.InvalidParameterValue(msg % {'age': age_in_days})
|
||||||
if age_in_days <= 0:
|
if age_in_days <= 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user