mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
handle zone with no records
This commit is contained in:
parent
1e96bfcbed
commit
3ba09b85b7
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ module Fog
|
|||
def list_records(domain)
|
||||
response = Excon::Response.new
|
||||
response.status = 200
|
||||
response.body = self.data[:records][domain]
|
||||
response.body = self.data[:records][domain] || []
|
||||
response
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue