From 22208d2297f93c57f8f0a478f78f02ba845d1049 Mon Sep 17 00:00:00 2001 From: hellogdc Date: Wed, 27 Jan 2021 11:26:40 +0800 Subject: [PATCH] issues-98409 fix the address of restful-serve-static.go in the comment of pkg/routes/logs.go --- pkg/routes/logs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/routes/logs.go b/pkg/routes/logs.go index 1922a381ede..ef9cd4ef616 100644 --- a/pkg/routes/logs.go +++ b/pkg/routes/logs.go @@ -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")