summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormid_one <chenjie.xu@intel.com>2018-11-13 00:35:37 +0800
committerSlawek Kaplonski <skaplons@redhat.com>2018-11-12 21:07:35 +0000
commit1d45522a48bae0b454479e0f0a3876c773d7034e (patch)
treeb59b9eeebf3d095575534e1a441d42e0da9ce29e
parent3de4353dcd75cf6563b1c9a33c516cb599147e95 (diff)
downloadpython-neutronclient-1d45522a48bae0b454479e0f0a3876c773d7034e.tar.gz
Fix docstring in method list_routers_on_l3_agent
For function list_routers_on_l3_agent in the python-neutronclient\neutronclient\v2_0\client.py, the description is "Fetches a list of L3 agents hosting a router". However this function fetches a list of routers hosted on a L3 agent. Change the docstring. Change-Id: Ia2156b5f6f016f338549a6536a0f31bf9e96c7cf Closes-Bug: 1802475
-rw-r--r--neutronclient/v2_0/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/neutronclient/v2_0/client.py b/neutronclient/v2_0/client.py
index cb84b9f..988a9ca 100644
--- a/neutronclient/v2_0/client.py
+++ b/neutronclient/v2_0/client.py
@@ -1514,7 +1514,7 @@ class Client(ClientBase):
params=_params)
def list_routers_on_l3_agent(self, l3_agent, **_params):
- """Fetches a list of L3 agents hosting a router."""
+ """Fetches a list of routers hosted on an L3 agent."""
return self.get((self.agent_path + self.L3_ROUTERS) % l3_agent,
params=_params)