mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +00:00
fix a wrong word in the comment
the wrong word in this sentence "If msg is empty, a suitable default message with be sent." “with” change to "will".
This commit is contained in:
parent
b7e8791746
commit
418b9c1ca2
@ -168,7 +168,7 @@ func RecoverPanics(handler http.Handler) http.Handler {
|
|||||||
// determined by timeoutFunc. The new http.Handler calls h.ServeHTTP to handle
|
// determined by timeoutFunc. The new http.Handler calls h.ServeHTTP to handle
|
||||||
// each request, but if a call runs for longer than its time limit, the
|
// each request, but if a call runs for longer than its time limit, the
|
||||||
// handler responds with a 503 Service Unavailable error and the message
|
// handler responds with a 503 Service Unavailable error and the message
|
||||||
// provided. (If msg is empty, a suitable default message with be sent.) After
|
// provided. (If msg is empty, a suitable default message will be sent.) After
|
||||||
// the handler times out, writes by h to its http.ResponseWriter will return
|
// the handler times out, writes by h to its http.ResponseWriter will return
|
||||||
// http.ErrHandlerTimeout. If timeoutFunc returns a nil timeout channel, no
|
// http.ErrHandlerTimeout. If timeoutFunc returns a nil timeout channel, no
|
||||||
// timeout will be enforced.
|
// timeout will be enforced.
|
||||||
|
Loading…
Reference in New Issue
Block a user