Skip to content

Commit

Permalink
Merge pull request kubernetes#5697 from vmarmol/doc
Browse files Browse the repository at this point in the history
Correct documentation about stats arguments.
  • Loading branch information
yujuhong committed Mar 20, 2015
2 parents 5cfe0c0 + fc8f441 commit 0206115
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 @@ -655,7 +655,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 0206115

Please sign in to comment.