From 12955be08bfdba4574e88c11f17e9047f47b55c1 Mon Sep 17 00:00:00 2001 From: Airat Arifullin Date: Fri, 7 Feb 2025 12:26:19 +0300 Subject: [PATCH] [#1389] cli: Make ape-manager list performed with generated wallet Signed-off-by: Airat Arifullin --- cmd/frostfs-cli/modules/ape_manager/list_chain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/frostfs-cli/modules/ape_manager/list_chain.go b/cmd/frostfs-cli/modules/ape_manager/list_chain.go index b07ecc52f..0bb66daa0 100644 --- a/cmd/frostfs-cli/modules/ape_manager/list_chain.go +++ b/cmd/frostfs-cli/modules/ape_manager/list_chain.go @@ -23,7 +23,7 @@ var listCmd = &cobra.Command{ func list(cmd *cobra.Command, _ []string) { target := parseTarget(cmd) - key := key.Get(cmd) + key := key.GetOrGenerate(cmd) cli := internalclient.GetSDKClientByFlag(cmd, key, commonflags.RPC) resp, err := cli.APEManagerListChains(cmd.Context(),