From 94578e9f0f13aa2495f775982e37a6d0219263de Mon Sep 17 00:00:00 2001 From: Abhishek Gaikwad Date: Mon, 26 Aug 2024 16:55:21 -0700 Subject: [PATCH] cli: fix rendering issues for EC xactions output Signed-off-by: Abhishek Gaikwad --- cmd/cli/teb/templates.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/cli/teb/templates.go b/cmd/cli/teb/templates.go index f1f53b8d2fa..5e9ec1d8ca4 100644 --- a/cmd/cli/teb/templates.go +++ b/cmd/cli/teb/templates.go @@ -170,7 +170,7 @@ const ( xactECGetBody = "{{range $key, $xctn := $daemon.XactSnaps}}" + xactECGetStatsBody + "{{end}}" xactECGetStatsBody = "{{ $daemon.DaemonID }}\t " + "{{if $xctn.ID}}{{$xctn.ID}}{{else}}-{{end}}\t " + - "{{FormatBckName $xctn.Bck.Name}}\t " + + "{{FormatBckName $xctn.Bck}}\t " + "{{if (eq $xctn.Stats.Objs 0) }}-{{else}}{{$xctn.Stats.Objs}}{{end}}\t " + "{{if (eq $xctn.Stats.Bytes 0) }}-{{else}}{{FormatBytesSig $xctn.Stats.Bytes 2}}{{end}}\t " + @@ -190,7 +190,7 @@ const ( xactECPutBody = "{{range $key, $xctn := $daemon.XactSnaps}}" + xactECPutStatsBody + "{{end}}" xactECPutStatsBody = "{{ $daemon.DaemonID }}\t " + "{{if $xctn.ID}}{{$xctn.ID}}{{else}}-{{end}}\t " + - "{{FormatBckName $xctn.Bck.Name}}\t " + + "{{FormatBckName $xctn.Bck}}\t " + "{{if (eq $xctn.Stats.Objs 0) }}-{{else}}{{$xctn.Stats.Objs}}{{end}}\t " + "{{if (eq $xctn.Stats.Bytes 0) }}-{{else}}{{FormatBytesSig $xctn.Stats.Bytes 2}}{{end}}\t " +