lib/ring/sqa/nodes.rb in ring-sqa-0.0.22 vs lib/ring/sqa/nodes.rb in ring-sqa-0.0.23

- old
+ new

@@ -54,9 +54,10 @@ end def json_to_nodes_hash from_json nodes= {} from_json.each do |ip, json| + ip = IPAddr.new(ip).to_s node = { name: json['hostname'], ip: ip, as: json['asn'], cc: json['countrycode'],