lib/oxidized/source/http.rb in oxidized-0.17.0 vs lib/oxidized/source/http.rb in oxidized-0.18.0
- old
+ new
@@ -37,10 +37,10 @@
data.each do |line|
next if line.empty?
# map node parameters
keys = {}
@cfg.map.each do |key, position|
- keys[key.to_sym] = line[position]
+ keys[key.to_sym] = node_var_interpolate line[position]
end
keys[:model] = map_model keys[:model] if keys.key? :model
# map node specific vars
vars = {}