From 86e9f88ace4f6860876c1641cc794f63444b7b65 Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Fri, 13 Nov 2015 08:41:20 -0800 Subject: [PATCH] Add _LE to LOG.error statement in nova/service This was feedback from the previous patch. Change-Id: I16a2caaed162af6d460966dacedf947a116a354a --- nova/service.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nova/service.py b/nova/service.py index 97d55f8f0429..b0a7659e3107 100644 --- a/nova/service.py +++ b/nova/service.py @@ -142,9 +142,10 @@ def _update_service_ref(this_service, context): this_service.host, this_service.binary) if not service: - LOG.error(_('Unable to find a service record to update for ' - '%(binary)s on %(host)s') % {'binary': this_service.binary, - 'host': this_service.host}) + LOG.error(_LE('Unable to find a service record to update for ' + '%(binary)s on %(host)s') % { + 'binary': this_service.binary, + 'host': this_service.host}) return if service.version != service_obj.SERVICE_VERSION: LOG.info(_LI('Updating service version for %(binary)s on '