From 67e29f40f3b1cc10b3bea1eead8706d5bd51f73f Mon Sep 17 00:00:00 2001 From: Ruby Loo Date: Wed, 21 Sep 2016 14:55:21 -0400 Subject: [PATCH] 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 --- ironic/drivers/modules/drac/vendor_passthru.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ironic/drivers/modules/drac/vendor_passthru.py b/ironic/drivers/modules/drac/vendor_passthru.py index 4337d5318e..58ddc28a7f 100644 --- a/ironic/drivers/modules/drac/vendor_passthru.py +++ b/ironic/drivers/modules/drac/vendor_passthru.py @@ -114,9 +114,10 @@ class DracVendorPassthru(base.VendorInterface): drac_bios.abandon_config(task) @base.passthru(['GET'], async=False, - description=('List unfinished config jobs of the node. ' - 'Required argument: a TaskManager instance ' - 'containing the node to act on.')) + description=('Returns a dictionary containing the key ' + '"unfinished_jobs"; its value is a list of ' + 'dictionaries. Each dictionary represents ' + 'an unfinished config Job object.')) def list_unfinished_jobs(self, task, **kwargs): """List unfinished config jobs of the node.