[#717] Fix mixing CID and container ID

All container ID outputs that may be used in scripts
were replaced with CID.

Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
This commit is contained in:
Ekaterina Lebedeva 2023-12-18 14:53:00 +03:00
parent 7d7cf05575
commit be8f499b91
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{