Skip to content

Commit 29f4f08

Browse files
committed
Only turn origin detection off for linux
1 parent fcbd7f7 commit 29f4f08

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/statsd_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
tags: tags,
1111
logger: logger,
1212
telemetry_flush_interval: -1,
13-
origin_detection: false,
13+
# Only turn off origin detection for linux, other
14+
# platforms should work as before even with it enabled.
15+
origin_detection: !RUBY_PLATFORM.include?("linux"),
1416
)
1517
end
1618

0 commit comments

Comments
 (0)