From 21502987b2318292bf98e3ef502fb4c0cf9a6d58 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Tue, 29 Mar 2022 13:07:43 +0200 Subject: replace hpcloud/tail with nxadm/tail The hpcloud is not maintained anymore. nxadm is already part of the dependency chain, so it won't add work for downstream packages. While testing upcoming changes to the events-file backend, I noticed that nxadm is shipping required fixes. [NO NEW TESTS NEEDED] Signed-off-by: Valentin Rothberg --- libpod/container_log.go | 2 +- libpod/events/events.go | 2 +- libpod/logs/log.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libpod') diff --git a/libpod/container_log.go b/libpod/container_log.go index 47877951d..dd5c36e26 100644 --- a/libpod/container_log.go +++ b/libpod/container_log.go @@ -9,7 +9,7 @@ import ( "github.com/containers/podman/v4/libpod/define" "github.com/containers/podman/v4/libpod/events" "github.com/containers/podman/v4/libpod/logs" - "github.com/hpcloud/tail/watch" + "github.com/nxadm/tail/watch" "github.com/pkg/errors" "github.com/sirupsen/logrus" ) diff --git a/libpod/events/events.go b/libpod/events/events.go index d7bba7295..2cdd2ab67 100644 --- a/libpod/events/events.go +++ b/libpod/events/events.go @@ -7,7 +7,7 @@ import ( "time" "github.com/containers/storage/pkg/stringid" - "github.com/hpcloud/tail" + "github.com/nxadm/tail" "github.com/pkg/errors" ) diff --git a/libpod/logs/log.go b/libpod/logs/log.go index 886911f2d..9672f6ee1 100644 --- a/libpod/logs/log.go +++ b/libpod/logs/log.go @@ -9,7 +9,7 @@ import ( "time" "github.com/containers/podman/v4/libpod/logs/reversereader" - "github.com/hpcloud/tail" + "github.com/nxadm/tail" "github.com/pkg/errors" "github.com/sirupsen/logrus" ) -- cgit v1.2.3-54-g00ecf