lib/agent/server/am_connector.rb in site24x7_apminsight-1.5.3 vs lib/agent/server/am_connector.rb in site24x7_apminsight-1.6.0

- old
+ new

@@ -124,10 +124,10 @@ end con end def responseParser resp - if resp == Net::HTTPSuccess || Net::HTTPOK + if resp.kind_of? Net::HTTPOK rawData = resp.body if rawData.length>=2 rBody = JSON.parse(rawData) result = rBody["result"] data = rBody["data"]