mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Fix Kubelet /logs endpoint
This commit is contained in:
parent
a39e1e96dc
commit
d2805c65d6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user