mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
update StatusDetails to handle Groups
This commit is contained in:
@@ -245,7 +245,7 @@ func (tw *baseTimeoutWriter) timeout(msg string) {
|
||||
tw.w.Write([]byte(msg))
|
||||
} else {
|
||||
enc := json.NewEncoder(tw.w)
|
||||
enc.Encode(errors.NewServerTimeout("", "", 0))
|
||||
enc.Encode(errors.NewServerTimeout(api.Resource(""), "", 0))
|
||||
}
|
||||
}
|
||||
tw.timedOut = true
|
||||
|
||||
Reference in New Issue
Block a user