summaryrefslogtreecommitdiffstats
path: root/core/Command/Background
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-06-27 15:20:16 +0200
committerCôme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com>2022-07-11 09:46:23 +0000
commit0cc39d185c27505bd6c1f8809bbbea3f3f6b19a2 (patch)
tree6c363766479787b6b737aa3be7e9cf00d7a5c1bd /core/Command/Background
parent3cf8c63409a19741200bcab781a9921963fd5e07 (diff)
downloadnextcloud-server-0cc39d185c27505bd6c1f8809bbbea3f3f6b19a2.tar.gz
nextcloud-server-0cc39d185c27505bd6c1f8809bbbea3f3f6b19a2.zip
Use symfony console table to render the job list properly
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core/Command/Background')
-rw-r--r--core/Command/Background/ListCommand.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Background/ListCommand.php b/core/Command/Background/ListCommand.php
index 0bbf01d76db..d29ac38a7bf 100644
--- a/core/Command/Background/ListCommand.php
+++ b/core/Command/Background/ListCommand.php
@@ -68,7 +68,7 @@ class ListCommand extends Base {
protected function execute(InputInterface $input, OutputInterface $output): int {
$jobs = $this->jobList->getJobs($input->getOption('class'), (int)$input->getOption('limit'), (int)$input->getOption('offset'));
- $this->writeArrayInOutputFormat($input, $output, $this->formatJobs($jobs));
+ $this->writeTableInOutputFormat($input, $output, $this->formatJobs($jobs));
return 0;
}