Skip to content

Commit 728e304

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

File tree

7 files changed

+4
-268
lines changed

7 files changed

+4
-268
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"io"
2222
"os"
2323

24-
"github.com/google/cadvisor/utils/tail"
24+
"k8s.io/node-problem-detector/pkg/systemlogmonitor/logwatchers/filelog/tail"
2525
)
2626

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

vendor/github.com/google/cadvisor/utils/tail/tail.go renamed to pkg/systemlogmonitor/logwatchers/filelog/tail/tail.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
// This package was originally part of https://github.com/google/cadvisor, but later removed.
16+
// https://github.com/google/cadvisor/blob/8016f8ba96e74fb2001b121e0145dc2d0fe056e3/utils/tail/tail.go
17+
1518
// Package tail implements "tail -F" functionality following rotated logs
1619
package tail
1720

vendor/github.com/google/cadvisor/AUTHORS

Lines changed: 0 additions & 9 deletions
This file was deleted.

vendor/github.com/google/cadvisor/LICENSE

Lines changed: 0 additions & 190 deletions
This file was deleted.

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)