1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

B #3235 Change DetachNic method parameter to integer (#3236)

This commit is contained in:
Christian González 2019-04-15 17:44:40 +02:00 committed by Ruben S. Montero
parent c73af39818
commit 088570f071

View File

@ -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
}