cli: fix mixing CID and container ID #877

Merged
fyrchik merged 1 commit from elebedeva/frostfs-node:cli-output into master 2023-12-19 16:36:28 +00:00
3 changed files with 3 additions and 3 deletions

View file

@ -113,7 +113,7 @@ It will be stored in sidechain when inner ring will accepts it.`,
id := res.ID()
cmd.Println("container ID:", id)
cmd.Println("CID:", id)
if containerAwait {
cmd.Println("awaiting...")

View file

@ -83,7 +83,7 @@ func prettyPrintContainer(cmd *cobra.Command, cnr container.Container, jsonEncod
var id cid.ID
container.CalculateID(&id, cnr)
cmd.Println("container ID:", id)
cmd.Println("CID:", id)
cmd.Println("owner ID:", cnr.Owner())

View file

@ -57,7 +57,7 @@ func addRule(cmd *cobra.Command, _ []string) {
chain.ID = apechain.ID(chainID)
serializedChain := chain.Bytes()
cmd.Println("Container ID: " + cidStr)
cmd.Println("CID: " + cidStr)
cmd.Println("Parsed chain:\n" + prettyJSONFormat(cmd, serializedChain))
req := &control.AddChainLocalOverrideRequest{