Commit d2805c65 authored by Dawn Chen's avatar Dawn Chen

Fix Kubelet /logs endpoint

parent a39e1e96
...@@ -307,6 +307,9 @@ func (s *Server) InstallDebuggingHandlers() { ...@@ -307,6 +307,9 @@ func (s *Server) InstallDebuggingHandlers() {
ws.Route(ws.GET(""). ws.Route(ws.GET("").
To(s.getLogs). To(s.getLogs).
Operation("getLogs")) Operation("getLogs"))
ws.Route(ws.GET("/{logpath:*}").
To(s.getLogs).
Operation("getLogs"))
s.restfulCont.Add(ws) s.restfulCont.Add(ws)
ws = new(restful.WebService) ws = new(restful.WebService)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment