Skip to content

Commit

Permalink
fix: improve code
Browse files Browse the repository at this point in the history
Signed-off-by: Junjie Gao <[email protected]>
  • Loading branch information
JeyJeyGao committed Dec 24, 2024
1 parent e67b5fd commit 1eb1908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/notation/internal/policy/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ import (
// Otherwise, it will show blob trust policy configuration.
func Show(isOCIPolicy bool) error {
var (
doc policy
policyJSON []byte
err error
doc policy
)
if isOCIPolicy {
doc = &trustpolicy.OCIDocument{}
Expand Down

0 comments on commit 1eb1908

Please sign in to comment.