✨ Reformat error wrapping for resolved bundle status by trgeiger · Pull Request #1938 · operator-framework/operator-controller
trgeiger
changed the title
✨ RBAC preflight: add newline after preauth error
✨ Reformat error wrapping for resolved bundle status
Adds another test case to helm_test.go for when PreAuthorize() returns missing RBAC rules. Merges the noOpPreauthorizer and errPreAuthorizer into one mockPreAuthorizer in helm_test.go. Reverses the structure of the error string in wrapErrorWithResolutionInfo such that the context is first and the error follows. Signed-off-by: Tayler Geiger <tayler@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters