Skip to content

Commit 8fcd900

Browse files
committed
fix list visual presentation
1 parent 2cd6589 commit 8fcd900

File tree

1 file changed

+2
-5
lines changed
  • internal/cmd/volume/backup/list

1 file changed

+2
-5
lines changed

internal/cmd/volume/backup/list/list.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,13 +185,10 @@ func outputResult(p *print.Printer, outputFormat string, backups []iaas.Backup)
185185
utils.ConvertTimePToDateTimeString(backup.CreatedAt),
186186
utils.ConvertTimePToDateTimeString(backup.UpdatedAt),
187187
)
188+
table.AddSeparator()
188189
}
189190

190-
err := table.Display(p)
191-
if err != nil {
192-
return fmt.Errorf("render table: %w", err)
193-
}
194-
191+
p.Outputln(table.Render())
195192
return nil
196193
}
197194
}

0 commit comments

Comments
 (0)