From 94fdba59908ad067f620ad9430b99bd1d5c9bd2e Mon Sep 17 00:00:00 2001 From: Javier Adriel Date: Thu, 8 Sep 2022 11:13:22 -0500 Subject: [PATCH] Run lint in missing files (#2300) --- restapi/operations/configuration/config_info.go | 3 ++- restapi/operations/user/update_user_info.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/restapi/operations/configuration/config_info.go b/restapi/operations/configuration/config_info.go index 72dc5eb2c..3bb280e14 100644 --- a/restapi/operations/configuration/config_info.go +++ b/restapi/operations/configuration/config_info.go @@ -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) + } diff --git a/restapi/operations/user/update_user_info.go b/restapi/operations/user/update_user_info.go index 43e8b930c..36b397063 100644 --- a/restapi/operations/user/update_user_info.go +++ b/restapi/operations/user/update_user_info.go @@ -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 */