Skip to content

Commit

Permalink
Merge branch 'main' into 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianfeldmann committed Dec 21, 2023
2 parents 9a5fb8c + 75be9d7 commit 3e3d87a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Log/Prometheus.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function onBackupEnd(Event\Backup\End $event)
{
$this->backupStats[$event->getConfiguration()->getName()]['timeEnd'] = microtime(true);
$this->backupStats[$event->getConfiguration()->getName()]['lastRun'] = microtime(true);
$this->backupStats[$event->getConfiguration()->getName()]['size'] = $event->getTarget()->getSize();
$this->backupStats[$event->getConfiguration()->getName()]['size'] = $event->getTarget()->getSize() ?? 0;
}

/**
Expand Down

0 comments on commit 3e3d87a

Please sign in to comment.