Merge "Fix some reST field lists in docstrings"

This commit is contained in:
Jenkins 2017-06-06 17:47:48 +00:00 committed by Gerrit Code Review
commit ebb196abf1
1 changed files with 3 additions and 2 deletions

View File

@ -791,7 +791,8 @@ def get_cnas(adapter, instance, **search):
:param instance: The nova instance.
:param search: Keyword arguments for CNA.search. If omitted, all CNAs are
returned.
:return The CNA wrappers that represent the ClientNetworkAdapters on the VM
:return: The CNA wrappers that represent the ClientNetworkAdapters
on the VM
"""
meth = pvm_net.CNA.search if search else pvm_net.CNA.get
@ -806,7 +807,7 @@ def get_vnics(adapter, instance, **search):
:param instance: The nova instance.
:param search: Keyword arguments for VNIC.search. If omitted, all VNICs
are returned.
:return The VNIC wrappers that represent the virtual NICs on the VM.
:return: The VNIC wrappers that represent the virtual NICs on the VM.
"""
meth = pvm_card.VNIC.search if search else pvm_card.VNIC.get