1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-25 10:32:31 +01:00

app: update prune-backup command description (#4754)

This commit is contained in:
Boy132 2023-08-23 03:17:18 +02:00 committed by GitHub
parent 67b2d944a6
commit 51cee7688a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ class PruneOrphanedBackupsCommand extends Command
{ {
protected $signature = 'p:maintenance:prune-backups {--prune-age=}'; protected $signature = 'p:maintenance:prune-backups {--prune-age=}';
protected $description = 'Marks all backups that have not completed in the last "n" minutes as being failed.'; protected $description = 'Marks all backups older than "n" minutes that have not yet completed as being failed.';
/** /**
* PruneOrphanedBackupsCommand constructor. * PruneOrphanedBackupsCommand constructor.
@ -38,7 +38,7 @@ class PruneOrphanedBackupsCommand extends Command
return; return;
} }
$this->warn("Marking $count backups that have not been marked as completed in the last $since minutes as failed."); $this->warn("Marking $count uncompleted backups that are older than $since minutes as failed.");
$query->update([ $query->update([
'is_successful' => false, 'is_successful' => false,