diff --git a/pkg/util/trivy/trivy.go b/pkg/util/trivy/trivy.go index 5c114b38a287fd..1f2765cb5e5fa1 100644 --- a/pkg/util/trivy/trivy.go +++ b/pkg/util/trivy/trivy.go @@ -265,7 +265,7 @@ type driver struct { applier applier.Applier } -func (d *driver) Scan(_ context.Context, target, artifactKey string, blobKeys []string, options types.ScanOptions) ( +func (d *driver) Scan(_ context.Context, target, artifactKey string, blobKeys []string, _ types.ScanOptions) ( results types.Results, osFound ftypes.OS, err error) { detail, err := d.applier.ApplyLayers(artifactKey, blobKeys)