Run lint in missing files (#2300)

This commit is contained in:
Javier Adriel
2022-09-08 11:13:22 -05:00
committed by GitHub
parent 524258a9ea
commit 94fdba5990
2 changed files with 3 additions and 2 deletions

View File

@@ -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)
}

View File

@@ -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
*/