lib/fog/azurerm/models/network/public_ips.rb in fog-azure-rm-0.0.0 vs lib/fog/azurerm/models/network/public_ips.rb in fog-azure-rm-0.0.1
- old
+ new
@@ -24,11 +24,9 @@
load(public_ips)
end
def get(identity)
all.find { |f| f.name == identity }
- rescue Fog::Errors::NotFound
- nil
end
def check_if_exists(resource_group, name)
Fog::Logger.debug "Checkng if PublicIP #{name} exists."
if service.check_for_public_ip(resource_group, name)