Don't translate event reason when adding hook event
We don't seem to do it anywhere else. TripleO uses hook reason string comparsion which does not work if internationalized. Story: #2005035 Task: 29524 Change-Id: I3e8f4587966969084cbf1e38406cd3cff23eb9a6
This commit is contained in:
parent
84c908ca9e
commit
1cd8ce37c0
|
@ -536,7 +536,7 @@ class Resource(status.ResourceStatus):
|
|||
if self.stack.env.registry.matches_hook(self.name, hook):
|
||||
self.trigger_hook(hook)
|
||||
self._add_event(self.action, self.status,
|
||||
_("%(a)s paused until Hook %(h)s is cleared")
|
||||
"%(a)s paused until Hook %(h)s is cleared"
|
||||
% {'a': action, 'h': hook})
|
||||
LOG.info('Reached hook on %s', self)
|
||||
|
||||
|
|
Loading…
Reference in New Issue