chore: upgrade golangci-lint to v1.46.0 (#1373)

This commit is contained in:
Colin Adler
2022-05-10 16:04:23 -05:00
committed by GitHub
parent e0a7aec228
commit 97a95f1377
18 changed files with 32 additions and 84 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ func (a RegoAuthorizer) Authorize(ctx context.Context, subjectID string, roles [
results, err := a.query.Eval(ctx, rego.EvalInput(input))
if err != nil {
return ForbiddenWithInternal(xerrors.Errorf("eval rego: %w, err"), input, results)
return ForbiddenWithInternal(xerrors.Errorf("eval rego: %w", err), input, results)
}
if len(results) != 1 {