From: John Griffith Date: Thu, 25 Feb 2016 17:15:07 +0000 (-0700) Subject: Change frozen error messages from _LE to _ X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=a1152a786e660f10bdc1429ad4098bf48bc24ac4;p=openstack-build%2Fcinder-build.git Change frozen error messages from _LE to _ The super secret formula states that the error messages should use '_' instead of '_LE'. This patch changes the ones introduced in Replication V2.1. Change-Id: I9a4b87421eeda69ca918cbf869f2990ef113e158 --- diff --git a/cinder/volume/api.py b/cinder/volume/api.py index 83457b93a..f6514d28c 100644 --- a/cinder/volume/api.py +++ b/cinder/volume/api.py @@ -1597,7 +1597,7 @@ class API(base.Base): result = service.conditional_update( {'frozen': True}, expected) if not result: - msg = _LE('Host is already Frozen.') + msg = _('Host is already Frozen.') LOG.error(msg) raise exception.InvalidInput(reason=msg) @@ -1618,7 +1618,7 @@ class API(base.Base): result = service.conditional_update( {'frozen': False}, expected) if not result: - msg = _LE('Host is NOT Frozen.') + msg = _('Host is NOT Frozen.') LOG.error(msg) raise exception.InvalidInput(reason=msg) if not self.volume_rpcapi.thaw_host(ctxt, host):