Skip to content

Commit

Permalink
imageverifier plugin CLI Arguments format issue containerd#10114
Browse files Browse the repository at this point in the history
  • Loading branch information
Anish-M committed Apr 30, 2024
1 parent 9d108fa commit 5cfb073
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/imageverifier/bindir/bindir.go
Expand Up @@ -116,9 +116,9 @@ func (v *ImageVerifier) runVerifier(ctx context.Context, bin string, imageName s

binPath := filepath.Join(v.config.BinDir, bin)
args := []string{
"-name", imageName,
"-digest", desc.Digest.String(),
"-stdin-media-type", ocispec.MediaTypeDescriptor,
"--name", imageName,
"--digest", desc.Digest.String(),
"--stdin-media-type", ocispec.MediaTypeDescriptor,
}

cmd := exec.CommandContext(ctx, binPath, args...)
Expand Down

0 comments on commit 5cfb073

Please sign in to comment.