From 134a4639b2c3a7916ae716cd590804affc4c5e5f Mon Sep 17 00:00:00 2001 From: Chen Date: Thu, 21 Jun 2018 14:13:20 +0800 Subject: [PATCH] Fix docstring for delete allocation method Delete allocations api will delete all allocations for a consumer. https://developer.openstack.org/api-ref/placement/#delete-allocations Change-Id: I916a22ef604460ca82916bde2827f89702b0ef1d --- osc_placement/resources/allocation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc_placement/resources/allocation.py b/osc_placement/resources/allocation.py index 38ac8a1..c51a71f 100644 --- a/osc_placement/resources/allocation.py +++ b/osc_placement/resources/allocation.py @@ -183,7 +183,7 @@ class ShowAllocation(command.Lister, version.CheckerMixin): class DeleteAllocation(command.Command): - """Delete a resource allocation for a given consumer.""" + """Delete all resource allocations for a given consumer.""" def get_parser(self, prog_name): parser = super(DeleteAllocation, self).get_parser(prog_name)