Skip to content

Commit

Permalink
Remove active status output from token list command in Token class
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleJake committed Feb 15, 2025
1 parent a3ddd82 commit b720c12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions application/command/token.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ protected function execute(Input $input, Output $output)
break;
case "list":
foreach ($node_token as $key => $value)
$node_active = Cache::store('redis')->ttl("system_monitor:info:$key") > 0;
$output->writeln("$key: $value\nActive: ".($node_active?"Yes":"No"));
$output->writeln("$key: $value");
exit(0);
case "help":
$output->writeln("Node UUID token manager");
Expand Down

0 comments on commit b720c12

Please sign in to comment.