nit: Correct name of variable
The variable name is resources_key and not resource_keys.
692b7f39e3/openstack/compute/v2/server.py (L33)
Change-Id: I58d1973aa5b1d37673d629fb39630280cb1b31ad
This commit is contained in:
@@ -44,7 +44,7 @@ string replacement is used, e.g., ``base_path = "/servers/%(server_id)s/ips"``.
|
||||
requires a key to obtain the response value. For example, the ``Server``
|
||||
class sets ``resource_key = "server"`` as an individual ``Server`` is
|
||||
stored in a dictionary keyed with the singular noun,
|
||||
and ``resource_keys = "servers"`` as multiple ``Server``\s are stored in
|
||||
and ``resources_key = "servers"`` as multiple ``Server``\s are stored in
|
||||
a dictionary keyed with the plural noun in the response.
|
||||
|
||||
Proxy
|
||||
|
||||
Reference in New Issue
Block a user