Merge pull request #69250 from warmchang/lint-pkg/routes

fix golint errors in pkg/routes
This commit is contained in:
Kubernetes Prow Robot
2019-02-15 06:39:29 -08:00
committed by GitHub
2 changed files with 1 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ import (
// Logs adds handlers for the /logs path serving log files from /var/log.
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