Skip to content

Commit

Permalink
chore: remove unused logger attribute in amazon detector (#5476)
Browse files Browse the repository at this point in the history
  • Loading branch information
lebauce authored Nov 2, 2023
1 parent 8656bd9 commit 7299867
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/detector/ospkg/amazon/amazon.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -30,7 +29,6 @@ var (

type options struct {
clock clock.Clock
l *zap.SugaredLogger
}

type option func(*options)
Expand All @@ -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{},
}

Expand Down

0 comments on commit 7299867

Please sign in to comment.