mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Type define note "errNotAcceptable indicates Content-Type is not recognized" wrong
This commit is contained in:
parent
5e1b75d164
commit
7ecae85493
2
pkg/apiserver/errors.go
Normal file → Executable file
2
pkg/apiserver/errors.go
Normal file → Executable file
@ -126,7 +126,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
|
||||
|
Loading…
Reference in New Issue
Block a user