Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Ramon Petgrave <[email protected]>
  • Loading branch information
ramonpetgrave64 committed Aug 14, 2024
1 parent 0c7d87b commit 2f63460
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion signing/sigstore/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func NewDefaultBundleSigner() *BundleSigner {
return NewBundleSigner(DefaultFulcioAddr, DefaultRekorAddr)
}

func NewBundleSigner(fulcioAddr string, rekorAddr string) *BundleSigner {
func NewBundleSigner(fulcioAddr, rekorAddr string) *BundleSigner {

Check failure on line 54 in signing/sigstore/bundle.go

View workflow job for this annotation

GitHub Actions / golangci-lint

exported: exported function NewBundleSigner should have comment or be unexported (revive)

Check failure on line 54 in signing/sigstore/bundle.go

View workflow job for this annotation

GitHub Actions / golangci-lint

exported: exported function NewBundleSigner should have comment or be unexported (revive)
return &BundleSigner{
fulcioAddr: fulcioAddr,
rekorAddr: rekorAddr,
Expand Down
1 change: 1 addition & 0 deletions signing/sigstore/fulcio.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import (
)

const (
// DefaultFulcioAddr is the default Sigstore Fulcio URL.
DefaultFulcioAddr = options.DefaultFulcioURL
defaultOIDCIssuer = options.DefaultOIDCIssuerURL
defaultOIDCClientID = "sigstore"
Expand Down

0 comments on commit 2f63460

Please sign in to comment.