instana / ruby-sensor

💎 Ruby Distributed Tracing & Metrics Sensor for Instana
https://www.instana.com/
MIT License
26 stars 25 forks source link

Container detection: chomp string before comparison #176

Closed pglombardo closed 4 years ago

pglombardo commented 4 years ago

Previously, we were incorrectly comparing if '/' == "/\n"

pglombardo commented 4 years ago

Tested on Mac host, Linux host and inside Ruby containers.