Skip to content

Commit

Permalink
Drop underscore params
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmoor committed Jul 5, 2022
1 parent 5909c31 commit db6125e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/build/gobuild_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,14 +392,14 @@ func TestBuildConfig(t *testing.T) {
}
}

func nilGetBase(_ context.Context, _ string) (name.Reference, Result, error) {
func nilGetBase(context.Context, string) (name.Reference, Result, error) {
return nil, nil, nil
}

const wantSBOM = "This is our fake SBOM"

// A helper method we use to substitute for the default "build" method.
func fauxSBOM(_ context.Context, _ string, _ string, _ oci.SignedEntity) ([]byte, types.MediaType, error) {
func fauxSBOM(context.Context, string, string, oci.SignedEntity) ([]byte, types.MediaType, error) {
return []byte(wantSBOM), "application/vnd.garbage", nil
}

Expand Down

0 comments on commit db6125e

Please sign in to comment.