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
This commit is contained in:
Eva Balycheva 2016-01-07 01:31:05 +03:00
parent bc531e62e3
commit b90254fa18

View File

@ -55,7 +55,7 @@ class DeletePool(cli.DeletePool):
pass
class ListPool(cli.ListPools):
class ListPools(cli.ListPools):
"""List available Pools"""
pass