From b90254fa18d47ed59a5c9104bbfabea8e47276c0 Mon Sep 17 00:00:00 2001 From: Eva Balycheva Date: Thu, 7 Jan 2016 01:31:05 +0300 Subject: [PATCH] Fix bad "pool list" api v2 entry point for CLI Currently, when "openstack help --os-queues-api-version=2" command is run to view all available commands of Zaqar api v2, en error is thrown about inability to parse this entry point: "pool_list = zaqarclient.queues.v2.cli:ListPools". The problem occurs because "ListPool" class in zaqarclient.queues.v2.cli package need to be called "ListPools" instead. Renaming "ListPool" to "ListPools" will make this class properly referred by setup.cfg and also the name of this class will be similar to the one in zaqarclient.queues.v1.cli. This patch is making it so. Change-Id: I3acb0d9f1bdbe00ca2bf2de2726adf4d9f722a5c --- zaqarclient/queues/v2/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaqarclient/queues/v2/cli.py b/zaqarclient/queues/v2/cli.py index dd1aee2b..7e7b03e2 100644 --- a/zaqarclient/queues/v2/cli.py +++ b/zaqarclient/queues/v2/cli.py @@ -55,7 +55,7 @@ class DeletePool(cli.DeletePool): pass -class ListPool(cli.ListPools): +class ListPools(cli.ListPools): """List available Pools""" pass