From a647035c0483066f7edfe7a1f7cc043590e1ea7d Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Thu, 9 May 2024 11:15:43 -0700 Subject: [PATCH] unify naming --- app/setup_handlers.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/setup_handlers.go b/app/setup_handlers.go index 8be2e7765e..36a7fb7ff0 100644 --- a/app/setup_handlers.go +++ b/app/setup_handlers.go @@ -35,7 +35,7 @@ func SetupHandlers(app *App) { } _, useDevelopTracker := os.LookupEnv("ZETACORED_USE_DEVELOP_UPGRADE_TRACKER") - versionModifierFns, storeUpgrades, err := allUpgrades.getUpgrades(useDevelopTracker) + upgradeHandlerFns, storeUpgrades, err := allUpgrades.getUpgrades(useDevelopTracker) if err != nil { panic(err) } @@ -44,8 +44,8 @@ func SetupHandlers(app *App) { app.Logger().Info("Running upgrade handler for " + releaseVersion) var err error - for _, vmFn := range versionModifierFns { - vm, err = vmFn(ctx, vm) + for _, upgradeHandler := range upgradeHandlerFns { + vm, err = upgradeHandler(ctx, vm) if err != nil { return vm, err }