We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c43694 commit 716b546Copy full SHA for 716b546
src/Log/Prometheus.php
@@ -122,7 +122,7 @@ public function onPhpbuEnd(End $event)
122
$this->write('# HELP phpbu_backup_size The size of the last successful backup' . PHP_EOL);
123
$this->write('# TYPE phpbu_backup_size gauge' . PHP_EOL);
124
foreach ($this->backupStats as $backupName => $backupStats) {
125
- if($this->backupStats[$backupName]['size'] = " ") {
+ if($this->backupStats[$backupName]['size'] = "") {
126
$this->backupStats[$backupName]['size'] = 0;
127
}
128
$this->write(
0 commit comments