Skip to content

Commit

Permalink
fix: wording for trust policy not found error (#585)
Browse files Browse the repository at this point in the history
I could not parse what this was saying before.

Signed-off-by: Dan Luhring <[email protected]>
  • Loading branch information
luhring authored Nov 5, 2024
1 parent 44672b2 commit 4477848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/octosts/octosts.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ func (s *sts) lookupTrustPolicy(ctx context.Context, install int64, trustPolicyK
if err != nil {
clog.InfoContextf(ctx, "failed to find trust policy: %v", err)
// Don't leak the error to the client.
return status.Errorf(codes.NotFound, "unable to find trust policy found for %q", trustPolicyKey.identity)
return status.Errorf(codes.NotFound, "unable to find trust policy for %q", trustPolicyKey.identity)
}

raw, err = file.GetContent()
Expand Down

0 comments on commit 4477848

Please sign in to comment.