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:
Kubernetes Submit Queue
2017-09-08 03:57:04 -07:00
committed by GitHub
3 changed files with 10 additions and 10 deletions

View File

@@ -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",