mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[hp|network] Fix minor bug.
This commit is contained in:
parent
0a266b8d8d
commit
cdfd972c33
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ module Fog
|
||||||
def remove_interface(subnet_id=nil, port_id=nil, options={})
|
def remove_interface(subnet_id=nil, port_id=nil, options={})
|
||||||
requires :id
|
requires :id
|
||||||
begin
|
begin
|
||||||
service.remove_router_interface(id, subnet_id, port_id, options).body['router']
|
service.remove_router_interface(id, subnet_id, port_id, options)
|
||||||
true
|
true
|
||||||
rescue ArgumentError, Fog::HP::Network::NotFound
|
rescue ArgumentError, Fog::HP::Network::NotFound
|
||||||
false
|
false
|
||||||
|
|
Loading…
Add table
Reference in a new issue