- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for WriteErrorString (0.46 sec)
-
pkg/kubelet/server/server.go
info, ok, err := s.auth.AuthenticateRequest(req.Request) if err != nil { klog.ErrorS(err, "Unable to authenticate the request due to an error") resp.WriteErrorString(http.StatusUnauthorized, "Unauthorized") return } if !ok { resp.WriteErrorString(http.StatusUnauthorized, "Unauthorized") return } // Get authorization attributes attrs := s.auth.GetRequestAttributes(info.User, req.Request)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 40.1K bytes - Viewed (0) -
pkg/kubelet/server/stats/handler.go
response.WriteError(http.StatusNotFound, err) default: msg := fmt.Sprintf("Internal Error: %v", err) klog.ErrorS(err, "HTTP InternalServerError serving", "request", request) response.WriteErrorString(http.StatusInternalServerError, msg) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 14 21:31:38 UTC 2023 - 6.8K bytes - Viewed (0)