1
0
Fork 0
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:
Rupak Ganguly 2013-04-02 17:08:51 -04:00
parent 0a266b8d8d
commit cdfd972c33

View file

@ -32,7 +32,7 @@ module Fog
def remove_interface(subnet_id=nil, port_id=nil, options={})
requires :id
begin
service.remove_router_interface(id, subnet_id, port_id, options).body['router']
service.remove_router_interface(id, subnet_id, port_id, options)
true
rescue ArgumentError, Fog::HP::Network::NotFound
false