From 90e35757e74f8872f85ffdbdd6bf5fd843be1aaa Mon Sep 17 00:00:00 2001 From: junfeng-li Date: Mon, 2 Dec 2024 19:52:26 +0000 Subject: [PATCH] Remove unused deploy show parameters This commit is to remove --deploy and --state from 'software deploy show' as they are not being used. Test Plan: PASS: build and deploy the iso on SX. PaSS: verify both are removed. Task: 51437 Story: 2010676 Change-Id: I490b5cbfdbf424c1e5f9e71488280a38c269ed08 Signed-off-by: junfeng-li --- software-client/software_client/v1/deploy_shell.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/software-client/software_client/v1/deploy_shell.py b/software-client/software_client/v1/deploy_shell.py index ee48a55b..fd6f2492 100644 --- a/software-client/software_client/v1/deploy_shell.py +++ b/software-client/software_client/v1/deploy_shell.py @@ -7,18 +7,6 @@ from software_client.common import utils -# --deployment is an optional argument -@utils.arg('--deployment', - required=False, - help='List the deployment specified') -# --state is an optional argument. -# default: "all" -# acceptable values: inactive, active, prestaging, prestaged, all -@utils.arg('--state', - choices=['inactive', 'active', 'prestaging', 'prestaged', 'all'], - default="all", - required=False, - help="List all deployments that have this state") def do_show(cc, args): """Show the software deployments states""" resp, data = cc.deploy.show()