diff options
author | Ruby Loo <ruby.loo@intel.com> | 2016-09-21 14:55:21 -0400 |
---|---|---|
committer | Ruby Loo <ruby.loo@intel.com> | 2016-09-21 14:55:21 -0400 |
commit | 67e29f40f3b1cc10b3bea1eead8706d5bd51f73f (patch) | |
tree | d17d0c553819467f5c51dda8026091c66f0de53a /ironic/drivers/modules/drac/vendor_passthru.py | |
parent | d7c5a6ad89dbef404e705d6657c5da054613282a (diff) | |
download | ironic-67e29f40f3b1cc10b3bea1eead8706d5bd51f73f.tar.gz |
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
Diffstat (limited to 'ironic/drivers/modules/drac/vendor_passthru.py')
-rw-r--r-- | ironic/drivers/modules/drac/vendor_passthru.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ironic/drivers/modules/drac/vendor_passthru.py b/ironic/drivers/modules/drac/vendor_passthru.py index 4337d5318..58ddc28a7 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. |