Skip to content

Commit

Permalink
Rename Status fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Jan 20, 2025
1 parent 7e26b24 commit 72cfb2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MultiFlexi/Command/AppStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
'credentials' => $engine->getFluentPDO()->from('credentials')->count(),
'credential_types' => $engine->getFluentPDO()->from('credential_type')->count(),
'database' => $database,
'daemon' => \MultiFlexi\Runner::isServiceActive('multiflexi.service') ? 'running' : 'stopped',
'status' => \MultiFlexi\Runner::isServiceActive('multiflexi.service') ? 'running' : 'stopped',
'timestamp' => date('c'),
];

Expand Down
2 changes: 1 addition & 1 deletion src/MultiFlexi/Command/JobStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
'total_applications' => (int) $result['total_applications'],
'repeated_jobs' => (int) $result['repeated_jobs'],
'total_jobs' => (int) $result['total_jobs'],
'quee_length' => (int) $queeLength,
'queue_length' => (int) $queeLength,
];

$format = $input->getOption('format');
Expand Down

0 comments on commit 72cfb2a

Please sign in to comment.