cli: fix mixing CID and container ID #877
3 changed files with 3 additions and 3 deletions
|
@ -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...")
|
||||
|
|
|
@ -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())
|
||||
|
||||
|
|
|
@ -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{
|
||||
|
|
Loading…
Reference in a new issue