mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Correct documentation about stats arguments.
This commit is contained in:
parent
a8f2cee8c5
commit
fc8f4411ef
@ -653,7 +653,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, req *http.Request) {
|
||||
|
||||
// serveStats implements stats logic.
|
||||
func (s *Server) serveStats(w http.ResponseWriter, req *http.Request) {
|
||||
// /stats/<podfullname>/<containerName> or /stats/<namespace>/<podfullname>/<uid>/<containerName>
|
||||
// /stats/<pod name>/<container name> or /stats/<namespace>/<pod name>/<uid>/<container name>
|
||||
components := strings.Split(strings.TrimPrefix(path.Clean(req.URL.Path), "/"), "/")
|
||||
var stats *cadvisorApi.ContainerInfo
|
||||
var err error
|
||||
|
Loading…
Reference in New Issue
Block a user