Enhancement comments on CountableResource
The comments for CountableResource give a misleading sample list, better to given exactly same resource as the sample list like security_group_member or keypair etc Change-Id: Ie36498f33a4f3cb5d9175b7d7044d35601cb7b6d
This commit is contained in:
parent
d804819f5b
commit
e766109685
|
@ -1404,9 +1404,10 @@ class CountableResource(AbsoluteResource):
|
|||
"""Initializes a CountableResource.
|
||||
|
||||
Countable resources are those resources which directly
|
||||
correspond to objects in the database, i.e., instances, cores,
|
||||
etc., but for which a count by project ID is inappropriate. A
|
||||
CountableResource must be constructed with a counting
|
||||
correspond to objects in the database, but for which a count
|
||||
by project ID is inappropriate e.g. security_group_rules,
|
||||
keypairs, etc.
|
||||
A CountableResource must be constructed with a counting
|
||||
function, which will be called to determine the current counts
|
||||
of the resource.
|
||||
|
||||
|
|
Loading…
Reference in New Issue