diff --git a/cli/module_generate/_templates/go/tmpl-main.go b/cli/module_generate/_templates/go/tmpl-main.go index eea12f1192c..f53cf1a5f48 100644 --- a/cli/module_generate/_templates/go/tmpl-main.go +++ b/cli/module_generate/_templates/go/tmpl-main.go @@ -15,7 +15,7 @@ func main() { } func mainWithArgs(ctx context.Context, args []string, logger logging.Logger) error { - {{.ModuleCamel}}, err := module.NewModuleFromArgs(ctx, logger) + {{.ModuleCamel}}, err := module.NewModuleFromArgs(ctx) if err != nil { return err }