From c5e08fbf25354e2259e9adf0ff7fbef6e2089fb0 Mon Sep 17 00:00:00 2001 From: suetin Date: Tue, 4 Jun 2024 02:07:17 +0300 Subject: [PATCH] fix " too many arguments " --- internal/app/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/app/app.go b/internal/app/app.go index d0f60754..b878c83f 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -63,7 +63,7 @@ func NewApp(configFile, logLevel string, interactive bool) (*App, error) { if err != nil { return nil, err } - switchHelper := mysql.NewSwitchHelper(config, logger) + switchHelper := mysql.NewSwitchHelper(config) app := &App{ state: stateFirstRun, config: config,