dyntool 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dyntool.rb +1 -1
- metadata +2 -2
data/lib/dyntool.rb
CHANGED
@@ -644,7 +644,7 @@ class OperateDyn
|
|
644
644
|
end
|
645
645
|
@ttl = @@conf.GetIpTTL(region)
|
646
646
|
@labels = @labels.uniq
|
647
|
-
@region_hash[@i] = { :name => "#{region}", :label => { :a_label => @labels}, :weight => { :a_weight => @weights }, :serve_count => { :a_serve_count => @ips_len }, :ttl => { :a_ttl => @ttl }, :countries => @countries, :rdata => @ips_hash }
|
647
|
+
@region_hash[@i] = { :name => "#{region}", :label => { :a_label => @labels}, :weight => { :a_weight => @weights }, :serve_count => { :a_serve_count => @ips_len }, :ttl => { :a_ttl => "#{@ttl}" }, :countries => @countries, :rdata => @ips_hash }
|
648
648
|
end
|
649
649
|
@record_data = { :name => "#{service}", :groups => [ @region_hash[1],@region_hash[2],@region_hash[3],@region_hash[4],@region_hash[5],@region_hash[6],@region_hash[7],@region_hash[8],@region_hash[9] ]}
|
650
650
|
return(@record_data)
|