Minor improvement of the NoopPublisher

A name is more human readable. Workflow and task always have a name.
It's convenient when you play with notifications.

Change-Id: I6fda6ea688a720605819545d2f86a1534bf1d480
Signed-off-by: Vitalii Solodilov <mcdkr@yandex.ru>
This commit is contained in:
Vitalii Solodilov 2018-09-03 10:35:08 +04:00 committed by Dougal Matthews
parent fdca8f89cd
commit 219ffa6074
1 changed files with 2 additions and 1 deletions

View File

@ -24,8 +24,9 @@ class NoopPublisher(base.NotificationPublisher):
def publish(self, ex_id, data, event, timestamp, **kwargs):
LOG.info(
'The event %s for %s is published by the '
'The event %s for [name=%s, id=%s] is published by the '
'noop notification publisher.',
event,
data.get('name'),
ex_id
)