fix some typos in apiserver

This commit is contained in:
supereagle 2017-03-20 17:11:19 +08:00
parent 47320fd3f0
commit e35b7d1082

View File

@ -50,9 +50,9 @@ type APIInstaller struct {
minRequestTimeout time.Duration minRequestTimeout time.Duration
} }
// Struct capturing information about an action ("GET", "POST", "WATCH", PROXY", etc). // Struct capturing information about an action ("GET", "POST", "WATCH", "PROXY", etc).
type action struct { type action struct {
Verb string // Verb identifying the action ("GET", "POST", "WATCH", PROXY", etc). Verb string // Verb identifying the action ("GET", "POST", "WATCH", "PROXY", etc).
Path string // The path of the action Path string // The path of the action
Params []*restful.Parameter // List of parameters associated with the action. Params []*restful.Parameter // List of parameters associated with the action.
Namer handlers.ScopeNamer Namer handlers.ScopeNamer