diff --git a/lib/fog/zerigo/models/dns/record.rb b/lib/fog/zerigo/models/dns/record.rb index 005acba89..9e7eefb12 100644 --- a/lib/fog/zerigo/models/dns/record.rb +++ b/lib/fog/zerigo/models/dns/record.rb @@ -48,7 +48,7 @@ module Fog connection.create_host(@zone.id, type, value, options) else options[:host_type] = type - options[:data] = data + options[:data] = value connection.update_host(identity, options) end merge_attributes(data.body)