Skip to content

Commit

Permalink
Remove unused logger attribute in amazon detector
Browse files Browse the repository at this point in the history
  • Loading branch information
lebauce committed Oct 31, 2023
1 parent 00f2059 commit 47ec72b
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 47ec72b

Please sign in to comment.