From a0af294b2d4bdb58e5b11bcc60532c8fe0357cbd Mon Sep 17 00:00:00 2001 From: rosstimothy <39066650+rosstimothy@users.noreply.github.com> Date: Fri, 18 Oct 2024 16:18:45 +0000 Subject: [PATCH] Remove logrus from resource watcher (#47710) Now that https://github.com/gravitational/teleport.e/pull/5165 has landed it is safe to remove the logrus logger from the resource watcher. --- lib/services/watcher.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/services/watcher.go b/lib/services/watcher.go index 63a4af59ae73..f8151d491583 100644 --- a/lib/services/watcher.go +++ b/lib/services/watcher.go @@ -28,7 +28,6 @@ import ( "github.com/gravitational/trace" "github.com/jonboulle/clockwork" - "github.com/sirupsen/logrus" "github.com/gravitational/teleport/api/constants" apidefaults "github.com/gravitational/teleport/api/defaults" @@ -90,8 +89,6 @@ func watchKindsString(kinds []types.WatchKind) string { type ResourceWatcherConfig struct { // Component is a component used in logs. Component string - // TODO(tross): remove this once e has been updated. - Log logrus.FieldLogger // Logger emits log messages. Logger *slog.Logger // MaxRetryPeriod is the maximum retry period on failed watchers.