From a1152a786e660f10bdc1429ad4098bf48bc24ac4 Mon Sep 17 00:00:00 2001 From: John Griffith Date: Thu, 25 Feb 2016 10:15:07 -0700 Subject: [PATCH] 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 --- cinder/volume/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- 2.45.2