Run lint in missing files (#2300)
This commit is contained in:
@@ -63,7 +63,7 @@ func (o *ConfigInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request) {
|
||||
if rCtx != nil {
|
||||
*r = *rCtx
|
||||
}
|
||||
Params := NewConfigInfoParams()
|
||||
var Params = NewConfigInfoParams()
|
||||
uprinc, aCtx, err := o.Context.Authorize(r, route)
|
||||
if err != nil {
|
||||
o.Context.Respond(rw, r, route.Produces, route, err)
|
||||
@@ -84,4 +84,5 @@ func (o *ConfigInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request) {
|
||||
|
||||
res := o.Handler.Handle(Params, principal) // actually handle the request
|
||||
o.Context.Respond(rw, r, route.Produces, route, res)
|
||||
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ func NewUpdateUserInfo(ctx *middleware.Context, handler UpdateUserInfoHandler) *
|
||||
}
|
||||
|
||||
/*
|
||||
UpdateUserInfo swagger:route PUT /user/{name} User updateUserInfo
|
||||
UpdateUserInfo swagger:route PUT /user/{name} User updateUserInfo
|
||||
|
||||
Update User Info
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user