forked from TrueCloudLab/frostfs-node
[#208] Print split ID in object.Head output of neofs-cli
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
f96630581a
commit
4c0ca23b34
1 changed files with 5 additions and 0 deletions
|
@ -653,6 +653,11 @@ func printHeader(cmd *cobra.Command, obj *object.Object, filename string) error
|
||||||
}
|
}
|
||||||
cmd.Printf(" %s=%s\n", attr.Key(), attr.Value())
|
cmd.Printf(" %s=%s\n", attr.Key(), attr.Value())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if obj.SplitID() != nil {
|
||||||
|
cmd.Printf("SplitID: %s\n", obj.SplitID().String())
|
||||||
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue