Skip to content

Commit 2077606

Browse files
committed
Remove direct dependency on google/cadvisor
1 parent 9ff6b0b commit 2077606

File tree

8 files changed

+2
-70
lines changed

8 files changed

+2
-70
lines changed

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ require (
1212
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf
1313
github.com/euank/go-kmsg-parser v2.0.0+incompatible
1414
github.com/golang/glog v1.1.1
15-
github.com/google/cadvisor v0.36.0
1615
github.com/hpcloud/tail v1.0.0
1716
github.com/onsi/ginkgo v1.16.5
1817
github.com/onsi/gomega v1.27.8

go.sum

Lines changed: 0 additions & 64 deletions
Large diffs are not rendered by default.

pkg/systemlogmonitor/logwatchers/filelog/log_watcher_linux.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ package filelog
1919
import (
2020
"fmt"
2121
"io"
22+
"k8s.io/node-problem-detector/third_party/forked/cadvisor/tail"
2223
"os"
23-
24-
"github.com/google/cadvisor/utils/tail"
2524
)
2625

2726
// getLogReader returns log reader for filelog log. Note that getLogReader doesn't look back

third_party/forked/cadvisor/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Forked from https://github.com/google/cadvisor/blob/8016f8ba96e74fb2001b121e0145dc2d0fe056e3/utils/tail/tail.go to support simple file tailing.

vendor/modules.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,6 @@ github.com/golang/protobuf/ptypes/any
147147
github.com/golang/protobuf/ptypes/duration
148148
github.com/golang/protobuf/ptypes/timestamp
149149
github.com/golang/protobuf/ptypes/wrappers
150-
# github.com/google/cadvisor v0.36.0
151-
## explicit; go 1.13
152-
github.com/google/cadvisor/utils/tail
153150
# github.com/google/gnostic-models v0.6.8
154151
## explicit; go 1.18
155152
github.com/google/gnostic-models/compiler

0 commit comments

Comments
 (0)