• k8s-merge-robot's avatar
    Merge pull request #29045 from lixiaobing10051267/mastererrNotAcceptable · 1e9edfc5
    k8s-merge-robot authored
    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"
    1e9edfc5
errors.go 4.49 KB