1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 09:56:55 +00:00
kyverno/pkg/cosign/init.go
Charles-Edouard Brétéché 840307fc69
chore: enable ifshort linter (#3945)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-05-17 18:55:13 +00:00

14 lines
213 B
Go

package cosign
import (
"fmt"
"github.com/sigstore/cosign/cmd/cosign/cli/fulcio"
)
func Init() error {
if fulcio.GetRoots() == nil {
return fmt.Errorf("failed to initialize Fulcio roots")
}
return nil
}