Fix DRAC passthru 'list_unfinished_jobs' desc
This fixes the description for DRAC's "list_unfinished_jobs()" passthru method. It incorrectly indicates that there are required arguments, but no arguments are required from the caller of that REST API. The description indicates what is returned by that method. This is a followup to I963504dbbec36e44312ccbf4455c45d6ec60908b. Change-Id: I4070f30b9898ef9f17c585ddba68cdac4d6335c7 Related-Bug: #1621515
This commit is contained in:
parent
d7c5a6ad89
commit
67e29f40f3
@ -114,9 +114,10 @@ class DracVendorPassthru(base.VendorInterface):
|
|||||||
drac_bios.abandon_config(task)
|
drac_bios.abandon_config(task)
|
||||||
|
|
||||||
@base.passthru(['GET'], async=False,
|
@base.passthru(['GET'], async=False,
|
||||||
description=('List unfinished config jobs of the node. '
|
description=('Returns a dictionary containing the key '
|
||||||
'Required argument: a TaskManager instance '
|
'"unfinished_jobs"; its value is a list of '
|
||||||
'containing the node to act on.'))
|
'dictionaries. Each dictionary represents '
|
||||||
|
'an unfinished config Job object.'))
|
||||||
def list_unfinished_jobs(self, task, **kwargs):
|
def list_unfinished_jobs(self, task, **kwargs):
|
||||||
"""List unfinished config jobs of the node.
|
"""List unfinished config jobs of the node.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user