lib/contrast/agent/deadzone/policy/policy.rb in contrast-agent-7.0.0 vs lib/contrast/agent/deadzone/policy/policy.rb in contrast-agent-7.1.0

- old
+ new

@@ -26,10 +26,10 @@ def node_type Contrast::Agent::Deadzone::Policy::DeadzoneNode end def from_hash_string string - policy_data = JSON.parse(string) + policy_data = Contrast::Utils::Json.parse(string) policy_data[DEADZONES_KEY].each do |deadzone_hash| add_node(node_type.new(deadzone_hash)) end end