Doc string and minor clean up for 41976

Just a doc string and minor clean up for vender_passthru

Change-Id: I6c7620d11c37385150b279ce94b1816f7ef0b99d
This commit is contained in:
Chris Krelle 2013-09-28 08:54:25 -07:00
parent 4e3fd87886
commit 5a9ee247db
2 changed files with 4 additions and 1 deletions

View File

@ -97,6 +97,9 @@ class ConductorAPI(ironic.openstack.common.rpc.proxy.RpcProxy):
:param node_id: node id or uuid.
:param driver_method: name of method for driver.
:param info: info for node driver.
:raises: InvalidParameterValue for parameter errors.
:raises: UnsupportedDriverExtension for unsupported extensions.
"""
driver_data = self.call(context,
self.make_msg('validate_vendor_action',

View File

@ -74,7 +74,7 @@ class FakeVendor(base.VendorInterface):
"Unsupported method (%s) passed through to vendor extension.")
% method)
return True if bar == 'baz' else False
return True
def _foo(self, task, node, bar):
return True if bar == 'baz' else False