From f913c01fca77975cc089de6da16b31f118acf692 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Mon, 25 Mar 2024 23:06:47 +0300 Subject: [PATCH] fixup file config init Signed-off-by: Vasiliy Tolstov --- internal/cli/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cli/init.go b/internal/cli/init.go index 0a6af9d..7f16f49 100644 --- a/internal/cli/init.go +++ b/internal/cli/init.go @@ -89,7 +89,7 @@ func NewInitCommand() *cobra.Command { options.Codec(yamlcodec.NewCodec()), fileconfig.Path(".gitea/pkgdashcli.yaml"), ) - err = c.Init(options.Context(ctx)) + err = c.Init() if err != nil { logger.Error(ctx, fmt.Sprintf("failed to init config: %v", err)) return err