From 2eebeaef1a2543e06ce6806871f4eb72e4f2cb31 Mon Sep 17 00:00:00 2001 From: beer-1 <147697694+beer-1@users.noreply.github.com> Date: Thu, 2 May 2024 13:53:53 +0900 Subject: [PATCH] add reference --- cmd/minitiad/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/minitiad/root.go b/cmd/minitiad/root.go index 4749c94..7070918 100644 --- a/cmd/minitiad/root.go +++ b/cmd/minitiad/root.go @@ -140,7 +140,7 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) { } func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig, basicManager module.BasicManager) { - a := appCreator{nil, encodingConfig} + a := &appCreator{nil, encodingConfig} // you can get app from a.app in post setup handler rootCmd.AddCommand(