Put result in quotes
When a result is the empty string is is hard/confusing to look at the logs and determine what the task result was, to avoid this put the result in quotes so that it is clear in the log message what is the result and what is not. Change-Id: I6f9c30e30999dcd8d7f0df26f8066d9f392fe1b9
This commit is contained in:
parent
4b973e90e0
commit
765f61619d
@ -107,7 +107,7 @@ class DynamicLogListener(base_listener.ListenerBase):
|
||||
self._logger.log(level,
|
||||
_("Task '%(task_name)s' (%(task_uuid)s)"
|
||||
" transitioned into state '%(state)s'"
|
||||
" with result %(result)s") %
|
||||
" with result '%(result)s'") %
|
||||
{'task_name': details['task_name'],
|
||||
'task_uuid': details['task_uuid'],
|
||||
'state': state, 'result': result})
|
||||
|
Loading…
x
Reference in New Issue
Block a user