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:
parent
4e3fd87886
commit
5a9ee247db
@ -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',
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user