summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2019-06-10 13:40:49 +0000
committerGerrit Code Review <review@openstack.org>2019-06-10 13:40:49 +0000
commite45dfa7ea207b8f95ab09eeb0c863840db02ff7f (patch)
tree9b9f8206c20d6658965df23a58ecb72860cb8dcf
parentda6caaef0701e46f24869a33c5875b36e0e0f9af (diff)
parent1a860467bd1f348f9e922601c27a7472f1b1e144 (diff)
downloadoslo-messaging-e45dfa7ea207b8f95ab09eeb0c863840db02ff7f.tar.gz
Merge "Add help msg to payload for CLI notifier"9.7.2
-rw-r--r--oslo_messaging/notify/notifier.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/oslo_messaging/notify/notifier.py b/oslo_messaging/notify/notifier.py
index 6e4ea3d..ebe05dd 100644
--- a/oslo_messaging/notify/notifier.py
+++ b/oslo_messaging/notify/notifier.py
@@ -94,7 +94,8 @@ def _send_notification():
'oslo.messaging.notify.drivers'
).names(),
help='Notification driver')
- parser.add_argument('payload')
+ parser.add_argument('payload',
+ help="the notification payload (dict)")
args = parser.parse_args()
conf = cfg.ConfigOpts()
conf([],