Remove "detailed" parser from subscription list

Subscription list doesn't support "detailed" parser.

Change-Id: I93b6e85460ffa2cd8935aa49d902a98d0206ead1
This commit is contained in:
wangxiyuan 2017-03-06 09:49:33 +08:00
parent 9004736dbc
commit 331fa5c44e

View File

@ -327,12 +327,6 @@ class ListSubscriptions(command.Lister):
"--limit",
metavar="<limit>",
help="Page size limit, default value is 20")
parser.add_argument(
"--detailed",
type=bool,
default=False,
metavar="<detailed>",
help="Whether to show subscription metadata")
return parser
def take_action(self, parsed_args):
@ -340,8 +334,7 @@ class ListSubscriptions(command.Lister):
client = self.app.client_manager.messaging
kwargs = {'queue_name': parsed_args.queue_name,
'detailed': parsed_args.detailed}
kwargs = {'queue_name': parsed_args.queue_name}
if parsed_args.marker is not None:
kwargs["marker"] = parsed_args.marker
if parsed_args.limit is not None: