Fix docstring in method list_networks_on_dhcp_agent

For function list_networks_on_dhcp_agent in the
python-neutronclient\neutronclient\v2_0\client.py,
the description is "Fetches a list of dhcp agents
hosting a network". However this function fetches
a list of networks hosted on a DHCP agent.

Change the docstring.

Change-Id: Ifa833d9a7ecab8ba55283d41d7a336d20cb578c3
Closes-Bug: 1802472
This commit is contained in:
mid_one 2018-11-12 23:41:39 +08:00
parent 3de4353dcd
commit cb1e24b178
1 changed files with 1 additions and 1 deletions

View File

@ -1494,7 +1494,7 @@ class Client(ClientBase):
params=_params)
def list_networks_on_dhcp_agent(self, dhcp_agent, **_params):
"""Fetches a list of dhcp agents hosting a network."""
"""Fetches a list of networks hosted on a DHCP agent."""
return self.get((self.agent_path + self.DHCP_NETS) % dhcp_agent,
params=_params)