Skip to content

Commit

Permalink
Fix typo in osv.PRODUCER_ID (guacsec#277)
Browse files Browse the repository at this point in the history
* Fix typo in osv.PRODUCER_ID


Signed-off-by: Philippe Ombredanne <[email protected]>

* updated test data to match producerID typo fix

Signed-off-by: Brandon Lum <[email protected]>

Signed-off-by: Philippe Ombredanne <[email protected]>
Signed-off-by: Brandon Lum <[email protected]>
Co-authored-by: Brandon Lum <[email protected]>
  • Loading branch information
pombredanne and lumjjb authored Jan 4, 2023
1 parent 522301d commit fa6efbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions internal/testing/testdata/testdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ var (
"predicate":{
"invocation":{
"uri":"guac",
"producer_id":"guecsec/guac"
"producer_id":"guacsec/guac"
},
"scanner":{
"uri":"osv.dev",
Expand Down Expand Up @@ -630,7 +630,7 @@ var (
"predicate":{
"invocation":{
"uri":"guac",
"producer_id":"guecsec/guac"
"producer_id":"guacsec/guac"
},
"scanner":{
"uri":"osv.dev",
Expand Down Expand Up @@ -661,7 +661,7 @@ var (
"predicate":{
"invocation":{
"uri":"guac",
"producer_id":"guecsec/guac"
"producer_id":"guacsec/guac"
},
"scanner":{
"uri":"osv.dev",
Expand Down Expand Up @@ -710,7 +710,7 @@ var (
"predicate":{
"invocation":{
"uri":"guac",
"producer_id":"guecsec/guac"
"producer_id":"guacsec/guac"
},
"scanner":{
"uri":"osv.dev",
Expand Down
2 changes: 1 addition & 1 deletion pkg/certifier/osv/osv.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const (
URI string = "osv.dev"
VERSION string = "0.0.14"
INVOC_URI string = "guac"
PRODUCER_ID string = "guecsec/guac"
PRODUCER_ID string = "guacsec/guac"
)

type osvCertifier struct {
Expand Down

0 comments on commit fa6efbb

Please sign in to comment.