forked from kubernetes-retired/multi-tenancy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change StatusReason for invalid requests from StatusReasonForbidden t…
…o StatusReasonInvalid This PR changes the StatusReason from StatusReasonForbidden to StatusReasonInvalid when handling invalid requests in `hncconfig.go`. To show the custom error message when the request is invalid, we need to add the message in the `Status.Details` field. Issue: kubernetes-retired#411
- Loading branch information
1 parent
34e1da9
commit 248a5da
Showing
2 changed files
with
34 additions
and
15 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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