Commit 1e9edfc5 authored by k8s-merge-robot's avatar k8s-merge-robot Committed by GitHub

Merge pull request #29045 from lixiaobing10051267/mastererrNotAcceptable

Automatic merge from submit-queue Type define note "errNotAcceptable" should be "errUnsupportedMediaType" In file "pkg\apiserver\errors.go", line 129: "// errNotAcceptable indicates Content-Type is not recognized" Here "errNotAcceptable" shuould be "errUnsupportedMediaType", thus consistent with line 131: "type errUnsupportedMediaType struct"
parents 8f8e6205 7ecae854
......@@ -133,7 +133,7 @@ func (e errNotAcceptable) Status() unversioned.Status {
}
}
// errNotAcceptable indicates Content-Type is not recognized
// errUnsupportedMediaType indicates Content-Type is not recognized
// TODO: move to api/errors if other code needs to return this
type errUnsupportedMediaType struct {
accepted []string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment