From 4477848ae11391d1535419b888c55bbb7437891a Mon Sep 17 00:00:00 2001 From: Dan Luhring Date: Tue, 5 Nov 2024 05:09:14 -0500 Subject: [PATCH] fix: wording for trust policy not found error (#585) I could not parse what this was saying before. Signed-off-by: Dan Luhring --- pkg/octosts/octosts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/octosts/octosts.go b/pkg/octosts/octosts.go index 95ad025..3ff83ef 100644 --- a/pkg/octosts/octosts.go +++ b/pkg/octosts/octosts.go @@ -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()