mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
when a zone doesn't exist return nil for rage4
This commit is contained in:
parent
832fefe6db
commit
7d817875d4
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ module Fog
|
|||
if !data.empty?
|
||||
new(data.first)
|
||||
else
|
||||
new()
|
||||
nil
|
||||
end
|
||||
rescue Excon::Errors::NotFound
|
||||
nil
|
||||
|
|
Loading…
Reference in a new issue