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:
parent
fdca8f89cd
commit
219ffa6074
@ -24,8 +24,9 @@ class NoopPublisher(base.NotificationPublisher):
|
|||||||
|
|
||||||
def publish(self, ex_id, data, event, timestamp, **kwargs):
|
def publish(self, ex_id, data, event, timestamp, **kwargs):
|
||||||
LOG.info(
|
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.',
|
'noop notification publisher.',
|
||||||
event,
|
event,
|
||||||
|
data.get('name'),
|
||||||
ex_id
|
ex_id
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user