Skip to content

Commit

Permalink
Update image analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
domust committed Sep 19, 2024
1 parent 5d5a595 commit 197a2bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/imagescan/collector/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func (c *Collector) getImage(ctx context.Context) (image.ImageWithIndex, func(),
},
}
}
img, err := image.NewFromRemote(ctx, c.cfg.ImageName, opts)
img, err := image.NewFromRemote(ctx, c.log, c.cfg.ImageName, opts)
return img, func() {}, err
}

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22.3
require (
github.com/ClickHouse/clickhouse-go/v2 v2.23.2
github.com/aquasecurity/trivy v0.51.2
github.com/castai/image-analyzer v0.5.1
github.com/castai/image-analyzer v0.5.2
github.com/cenkalti/backoff/v4 v4.2.1
github.com/cespare/xxhash v1.1.0
github.com/cilium/cilium v1.15.4
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,8 @@ github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0 h1:nvj0OLI3YqYXe
github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE=
github.com/bytecodealliance/wasmtime-go/v3 v3.0.2 h1:3uZCA/BLTIu+DqCfguByNMJa2HVHpXvjfy0Dy7g6fuA=
github.com/bytecodealliance/wasmtime-go/v3 v3.0.2/go.mod h1:RnUjnIXxEJcL6BgCvNyzCCRzZcxCgsZCi+RNlvYor5Q=
github.com/castai/image-analyzer v0.5.1 h1:qVdwP2EMPokCovEuB+JlAfX7OsR0LdkwjmuPxhAmeF0=
github.com/castai/image-analyzer v0.5.1/go.mod h1:ij/GVFNH5TBjPFPU5F0j19NS7zB3wSZ4mvgtPt8/EMY=
github.com/castai/image-analyzer v0.5.2 h1:A6MfYkGmPlVf6jE2M+PHDuNjMCB1ZuDLqiO9FxFHlK4=
github.com/castai/image-analyzer v0.5.2/go.mod h1:ij/GVFNH5TBjPFPU5F0j19NS7zB3wSZ4mvgtPt8/EMY=
github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM=
github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
Expand Down

0 comments on commit 197a2bb

Please sign in to comment.