[#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>
This commit is contained in:
Leonard Lyubich 2021-02-10 00:59:49 +03:00 committed by Alex Vanin
parent c6411e4f87
commit 8a67eea854

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
}