Skip to content

Commit

Permalink
fix root path (#1062)
Browse files Browse the repository at this point in the history
Signed-off-by: Asra Ali <asraa@google.com>
  • Loading branch information
asraa committed Nov 16, 2021
1 parent e868a54 commit 413d06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cosign/cli/policy_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func validEmail(email string) bool {
}

func rootPath(imageRef string) string {
return filepath.Join(imageRef, "root.json")
return filepath.Join(imageRef, "root")
}

func Policy() *cobra.Command {
Expand Down

0 comments on commit 413d06e

Please sign in to comment.