Skip to content

Commit 9bad84b

Browse files
committed
fix: Do not announce "nil" pid
Signed-off-by: Ferenc Géczi <[email protected]>
1 parent dbb19e1 commit 9bad84b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/instana/backend/process_info.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def arguments
1818
end
1919

2020
def parent_pid
21-
if in_container? && sched_pid != pid
21+
if in_container? && !sched_pid.nil?
2222
sched_pid
2323
else
2424
pid

lib/instana/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
# (c) Copyright Instana Inc. 2016
33

44
module Instana
5-
VERSION = "1.209.5"
5+
VERSION = "1.209.6"
66
VERSION_FULL = "instana-#{VERSION}"
77
end

0 commit comments

Comments
 (0)