]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix typo in log message
authorankitagrawal <ankit11.agrawal@nttdata.com>
Fri, 13 Mar 2015 12:09:05 +0000 (05:09 -0700)
committerankitagrawal <ankit11.agrawal@nttdata.com>
Fri, 13 Mar 2015 12:09:05 +0000 (05:09 -0700)
Fixed typo valude -> value in purge_deleted_rows() method of
cinder.db.sqlalchemy.api in log message.

Change-Id: Iebdb4790086bb1186051572a388c6ebba4101fbc

cinder/db/sqlalchemy/api.py

index a72ac6f0abe850ad056091b9516c55174eb723f6..ff214b70b2860ea785db8c557edb0cf03bd2e45b 100644 (file)
@@ -3544,7 +3544,7 @@ def purge_deleted_rows(context, age_in_days):
     try:
         age_in_days = int(age_in_days)
     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})
         raise exception.InvalidParameterValue(msg % {'age': age_in_days})
     if age_in_days <= 0: