mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
parent
c73af39818
commit
088570f071
@ -926,7 +926,7 @@ func (vm *VM) AttachNic(tpl string) error {
|
||||
}
|
||||
|
||||
// DetachNic detaches a network interface from the virtual machine
|
||||
func (vm *VM) DetachNic(nicID string) error {
|
||||
func (vm *VM) DetachNic(nicID int) error {
|
||||
_, err := client.Call("one.vm.detachnic", vm.ID, nicID)
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user