Skip to content

Commit

Permalink
Removed unnecessary code (spiffe#99)
Browse files Browse the repository at this point in the history
Signed-off-by: Willian Alves <wiilliian.alves@gmail.com>

Signed-off-by: Willian Alves <wiilliian.alves@gmail.com>
  • Loading branch information
willallves committed Sep 15, 2022
1 parent 81ee7d7 commit 826cc9d
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,6 @@ func TestSigstoreimpl_ValidateImage(t *testing.T) {
Manifest: []byte(`sometext`),
}, nil
},
skippedImages: nil,
},
args: args{
ref: func(d name.Digest, err error) name.Digest { return d }(name.NewDigest("example.com/sampleimage@sha256:5fb2054478353fd8d514056d1745b3a9eef066deadda4b90967af7ca65ce6505")),
Expand All @@ -1065,7 +1064,6 @@ func TestSigstoreimpl_ValidateImage(t *testing.T) {
fetchImageManifestFunction: func(ref name.Reference, options ...remote.Option) (*remote.Descriptor, error) {
return nil, errors.New("fetch error")
},
skippedImages: nil,
},
args: args{
ref: func(d name.Digest, err error) name.Digest { return d }(name.NewDigest("example.com/sampleimage@sha256:5fb2054478353fd8d514056d1745b3a9eef066deadda4b90967af7ca65ce6505")),
Expand All @@ -1082,7 +1080,6 @@ func TestSigstoreimpl_ValidateImage(t *testing.T) {
Manifest: nil,
}, nil
},
skippedImages: nil,
},
args: args{
ref: func(d name.Digest, err error) name.Digest { return d }(name.NewDigest("example.com/sampleimage@sha256:5fb2054478353fd8d514056d1745b3a9eef066deadda4b90967af7ca65ce6505")),
Expand Down Expand Up @@ -1648,7 +1645,6 @@ func TestSigstoreimpl_AttestContainerSignatures(t *testing.T) {
Manifest: []byte("sometext"),
}, nil
},
skippedImages: nil,
},
status: corev1.ContainerStatus{
Image: "spire-agent-sigstore-3",
Expand Down

0 comments on commit 826cc9d

Please sign in to comment.