Skip to content

Commit

Permalink
Correct documentation about stats arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarmol committed Mar 20, 2015
1 parent a8f2cee commit fc8f441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubelet/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fc8f441

Please sign in to comment.