Fix Kubelet /logs endpoint

This commit is contained in:
Dawn Chen 2015-10-30 16:19:34 -07:00
parent a39e1e96dc
commit d2805c65d6

View File

@ -307,6 +307,9 @@ func (s *Server) InstallDebuggingHandlers() {
ws.Route(ws.GET("").
To(s.getLogs).
Operation("getLogs"))
ws.Route(ws.GET("/{logpath:*}").
To(s.getLogs).
Operation("getLogs"))
s.restfulCont.Add(ws)
ws = new(restful.WebService)