Skip to content

Commit

Permalink
Merge pull request fog#552 from mogotest/fix_zerigo_host_update
Browse files Browse the repository at this point in the history
Fixed an issue whereby saving an existing record in Zerigo would nil out its value.
  • Loading branch information
geemus committed Oct 9, 2011
2 parents 0cba13b + 9a619c0 commit d614c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fog/zerigo/models/dns/record.rb
Expand Up @@ -48,7 +48,7 @@ def save
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)
Expand Down

0 comments on commit d614c12

Please sign in to comment.