From 8a67eea854cb9a3339df8ee27925dab88318da21 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 10 Feb 2021 00:59:49 +0300 Subject: [PATCH] [#371] cli/sg: Make output of saved SG address similar to saved object Add container ID to save storage group output in `storagegroup put` command. Signed-off-by: Leonard Lyubich --- cmd/neofs-cli/modules/storagegroup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/neofs-cli/modules/storagegroup.go b/cmd/neofs-cli/modules/storagegroup.go index 5f81dca6b..9dbe842c0 100644 --- a/cmd/neofs-cli/modules/storagegroup.go +++ b/cmd/neofs-cli/modules/storagegroup.go @@ -190,7 +190,7 @@ func putSG(cmd *cobra.Command, _ []string) error { } cmd.Println("Storage group successfully stored") - cmd.Printf(" ID: %s\n", oid) + cmd.Printf(" ID: %s\n CID: %s\n", oid, cid) return nil }