From 7299867c21f18a2a7af9e90c1fce3dfba6f7e4f0 Mon Sep 17 00:00:00 2001 From: Sylvain Baubeau Date: Thu, 2 Nov 2023 05:14:54 +0100 Subject: [PATCH] chore: remove unused logger attribute in amazon detector (#5476) --- pkg/detector/ospkg/amazon/amazon.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/detector/ospkg/amazon/amazon.go b/pkg/detector/ospkg/amazon/amazon.go index c1d92ef03b6e..5d28dce0a17e 100644 --- a/pkg/detector/ospkg/amazon/amazon.go +++ b/pkg/detector/ospkg/amazon/amazon.go @@ -5,7 +5,6 @@ import ( "time" version "github.com/knqyf263/go-deb-version" - "go.uber.org/zap" "golang.org/x/xerrors" "k8s.io/utils/clock" @@ -30,7 +29,6 @@ var ( type options struct { clock clock.Clock - l *zap.SugaredLogger } type option func(*options) @@ -50,7 +48,6 @@ type Scanner struct { // NewScanner is the factory method to return Amazon scanner func NewScanner(opts ...option) *Scanner { o := &options{ - l: log.Logger, clock: clock.RealClock{}, }