Argument should have 2 params

Correcting example

Change-Id: I8ad697841117c4a0d529d61415cb17e54aadc5aa
This commit is contained in:
Janonymous 2017-03-29 11:16:57 +00:00
parent 9ec0b9e66b
commit 103dc6c74f
1 changed files with 2 additions and 2 deletions

View File

@ -67,13 +67,13 @@ argument of type `os_vif.objects.VIF`::
# Now do the actual plug operations to connect the VIF to
# the backing network interface.
try:
os_vif.plug(vif)
os_vif.plug(vif, instance_info)
except vif_exc.PlugException as err:
# Handle the failure...
# If you are removing a virtual machine and its interfaces,
# you would use the unplug() operation:
try:
os_vif.unplug(vif)
os_vif.unplug(vif, instance_info)
except vif_exc.UnplugException as err:
# Handle the failure...