[#1233] neofs-cli: Fix split info marshaling
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
e2062013cf
commit
2b0460c532
1 changed files with 1 additions and 1 deletions
|
@ -1114,7 +1114,7 @@ func printSplitInfoErr(cmd *cobra.Command, err error) bool {
|
||||||
|
|
||||||
func printSplitInfo(cmd *cobra.Command, info *object.SplitInfo) {
|
func printSplitInfo(cmd *cobra.Command, info *object.SplitInfo) {
|
||||||
bs, err := marshalSplitInfo(cmd, info)
|
bs, err := marshalSplitInfo(cmd, info)
|
||||||
exitOnErr(cmd, fmt.Errorf("can't marshal split info: %w", err))
|
exitOnErr(cmd, errf("can't marshal split info: %w", err))
|
||||||
|
|
||||||
cmd.Println(string(bs))
|
cmd.Println(string(bs))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue