Skip to content

Commit

Permalink
Fix zones.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
davispuh authored Jul 7, 2024
1 parent 82c4155 commit 200961f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fog/dns/powerdns/models/zones.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def all
end

def get(zone)
data = service.get_zone(DEFAULT_SERVER, zone).body['zone']
data = service.get_zone(DEFAULT_SERVER, zone)
zone = new(data)
zone
rescue Fog::Service::NotFound
Expand Down

0 comments on commit 200961f

Please sign in to comment.