From 51a3b3fe3f3b4bde5a0f8edf40fb435c89fe73e2 Mon Sep 17 00:00:00 2001 From: Vincent Francoise Date: Thu, 11 Feb 2016 15:21:42 +0100 Subject: [PATCH] Removed useless '--name' in audit-template-list This bug outlined that a --name option of the audit-template-list subcommand was not working properly. But the goal of this command would have been equivalent to using 'audit-template-show'. That's why I simply removed it from our client. Change-Id: I57bb0c88bcf373304e59109cd7557052ef7a980b Closes-Bug: #1510190 --- watcherclient/v1/audit_template_shell.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/watcherclient/v1/audit_template_shell.py b/watcherclient/v1/audit_template_shell.py index e460a14..946306b 100644 --- a/watcherclient/v1/audit_template_shell.py +++ b/watcherclient/v1/audit_template_shell.py @@ -45,10 +45,6 @@ def do_audit_template_show(cc, args): action='store_true', default=False, help="Show detailed information about audit templates.") -@cliutils.arg( - '--name', - metavar='', - help='Only show information for the audit template with this name.') @cliutils.arg( '--goal', metavar='', @@ -73,8 +69,6 @@ def do_audit_template_list(cc, args): """List the audit templates.""" params = {} - if args.name is not None: - params['name'] = args.name if args.goal is not None: params['goal'] = args.goal if args.detail: