mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
zone.id instead of zone.domain
domain=nil for me... but id looks good ``` dme.zones.find{ |z| z.id == 'foo.instantinfrastructure.com'}.records.find_all{|r| r.name=='foo' && r.type=='A'}.first.zone => <Fog::DNS::DNSMadeEasy::Zone id="foo.instantinfrastructure.com", domain=nil, gtd_enabled=nil, nameservers=nil > ```
This commit is contained in:
parent
6c22118fa5
commit
3cfb5e287d
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ module Fog
|
||||||
end
|
end
|
||||||
|
|
||||||
def destroy
|
def destroy
|
||||||
service.delete_record(zone.domain, identity)
|
service.delete_record(zone.id, identity)
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue