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
This commit is contained in:
mid_one 2018-11-13 00:35:37 +08:00 committed by Slawek Kaplonski
parent 3de4353dcd
commit 1d45522a48
1 changed files with 1 additions and 1 deletions

View File

@ -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)