mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Use the zone id for record creation
This commit is contained in:
parent
d8ffe4c411
commit
766aca47c1
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ module Fog
|
|||
|
||||
# decide whether its a new record or update of an existing
|
||||
if id.nil?
|
||||
data = service.create_record(zone.domain, name, type, value, options)
|
||||
data = service.create_record(zone.id, name, type, value, options)
|
||||
else
|
||||
options[:name] = name if name
|
||||
options[:content] = value if value
|
||||
|
|
Loading…
Reference in a new issue