Skip to content

Commit

Permalink
cli: fix rendering issues for EC xactions output
Browse files Browse the repository at this point in the history
Signed-off-by: Abhishek Gaikwad <[email protected]>
  • Loading branch information
gaikwadabhishek committed Aug 26, 2024
1 parent 09a8b03 commit 94578e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/cli/teb/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 " +

Expand All @@ -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 " +

Expand Down

0 comments on commit 94578e9

Please sign in to comment.