mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-22 06:59:03 +00:00
Merge pull request #51932 from dixudx/fix_forbidden_messages
Automatic merge from submit-queue fix format of forbidden messages **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #51813 **Special notes for your reviewer**: /assign @deads2k @liggitt **Release note**: ```release-note None ```
This commit is contained in:
@@ -171,7 +171,7 @@ func TestStatus(t *testing.T) {
|
||||
statusCode: http.StatusForbidden,
|
||||
reqPath: "/apis",
|
||||
reason: "Forbidden",
|
||||
message: `forbidden: User "" cannot get path "/apis".: "Everything is forbidden."`,
|
||||
message: `forbidden: User "" cannot get path "/apis": Everything is forbidden.`,
|
||||
},
|
||||
{
|
||||
name: "401",
|
||||
|
Reference in New Issue
Block a user