From ab35a1a5d50bf6077a639ad86ab09190ae4dcd76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=E1=BA=B7c?= Date: Tue, 12 Sep 2023 12:54:32 +0700 Subject: [PATCH] linting --- app/app.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/app.go b/app/app.go index 96e73695..caf2bb9b 100644 --- a/app/app.go +++ b/app/app.go @@ -1083,6 +1083,7 @@ func RegisterSwaggerAPI(rtr *mux.Router) { func (app *MigalooApp) setupUpgradeHandlers(cfg module.Configurator) { for _, upgrade := range Upgrades { upgradeInfo, err := app.UpgradeKeeper.ReadUpgradeInfoFromDisk() + upgrade := upgrade if err != nil { panic(fmt.Sprintf("failed to read upgrade info from disk %s", err)) }