[#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 <leonard@nspcc.ru>
remotes/KirillovDenis/release/v0.21.1
Leonard Lyubich 2021-02-10 00:59:49 +03:00 committed by Alex Vanin
parent c6411e4f87
commit 8a67eea854
1 changed files with 1 additions and 1 deletions

View File

@ -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
}