forked from TrueCloudLab/frostfs-node
[#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:
parent
7d7cf05575
commit
be8f499b91
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