Credential option should not be 'required' when creating webhook

Change-Id: I4459f410c8bb5c681c66c9dd3f0ba4b3580e57d3
This commit is contained in:
Haiwei Xu
2015-08-18 12:16:48 +09:00
parent 27c244d5b4
commit 3fe29e2fa7

View File

@@ -321,7 +321,6 @@ def do_webhook_show(sc, args):
@utils.arg('-a', '--action', metavar='<ACTION>', required=True,
help=_('Name of action to be triggered for this webhook.'))
@utils.arg('-C', '--credential', metavar='<KEY1=VALUE1;KEY2=VALUE2...>',
required=True,
help=_('The credential to be used when the webhook is triggered.'),
action='append')
@utils.arg('-P', '--params', metavar='<KEY1=VALUE1;KEY2=VALUE2...>',