mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
minor fixes for record and domain destroying
This commit is contained in:
parent
e288659a5b
commit
53c7eb67b6
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ module Fog
|
|||
end
|
||||
|
||||
def destroy
|
||||
service.delete_record(identity)
|
||||
service.delete_record(id)
|
||||
true
|
||||
end
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ module Fog
|
|||
attribute :domain, :aliases => 'name'
|
||||
|
||||
def destroy
|
||||
service.delete_domain(identity)
|
||||
service.delete_domain(id)
|
||||
true
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue