Merge "Add help msg to payload for CLI notifier"

This commit is contained in:
Zuul 2019-06-10 13:40:49 +00:00 committed by Gerrit Code Review
commit e45dfa7ea2
1 changed files with 2 additions and 1 deletions

View File

@ -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([],