1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[rackspace|dns] record should pass priority

closes #635
This commit is contained in:
geemus 2011-12-01 09:56:12 -06:00
parent 113b1a666c
commit 065883b066

View file

@ -50,6 +50,10 @@ module Fog
:data => value
}
if priority
options[:priority] = priority
end
response = wait_for_job connection.add_records(@zone.identity, [options]).body['jobId']
merge_attributes(response.body['response']['records'].select {|record| record['name'] == self.name && record['type'] == self.type && record['data'] == self.value}.first)
true