ironic: use instance object for plug_vifs
It will be better if we'll use `instance` like object. Change-Id: I8af1afc8eb7feafae25e6f14045528d2ceb74cbd
This commit is contained in:
@@ -941,7 +941,7 @@ class IronicDriver(virt_driver.ComputeDriver):
|
||||
|
||||
"""
|
||||
ironicclient = client_wrapper.IronicClientWrapper()
|
||||
node = ironicclient.call("node.get", instance['node'])
|
||||
node = ironicclient.call("node.get", instance.node)
|
||||
self._plug_vifs(node, instance, network_info)
|
||||
|
||||
def unplug_vifs(self, instance, network_info):
|
||||
|
||||
Reference in New Issue
Block a user