Skip to content

Commit 9226135

Browse files
Remove noisy log
1 parent d8aa021 commit 9226135

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

context.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,6 @@ func GetCurrentContainerID() string {
158158
file, err := os.Open("/proc/self/cgroup")
159159

160160
if err != nil {
161-
if os.IsExist(err) {
162-
log.Printf("Fail to open /proc/self/cgroup: %s\n", err)
163-
}
164-
165161
return ""
166162
}
167163

0 commit comments

Comments
 (0)