issues-98409 fix the address of restful-serve-static.go in the comment of pkg/routes/logs.go

This commit is contained in:
hellogdc 2021-01-27 11:26:40 +08:00
parent 4fc184f383
commit 22208d2297

View File

@ -29,7 +29,7 @@ type Logs struct{}
// Install func registers the logs handler.
func (l Logs) Install(c *restful.Container) {
// use restful: ws.Route(ws.GET("/logs/{logpath:*}").To(fileHandler))
// See github.com/emicklei/go-restful/blob/master/examples/restful-serve-static.go
// See github.com/emicklei/go-restful/blob/master/examples/static/restful-serve-static.go
ws := new(restful.WebService)
ws.Path("/logs")
ws.Doc("get log files")