:100644 100644 c6ce10467 000000000 M LibreNMS/Data/Store/Rrd.php diff --git a/LibreNMS/Data/Store/Rrd.php b/LibreNMS/Data/Store/Rrd.php index c6ce1046728d7902dda816cbf1f176e867ec150e..d08e81393c928199df0aada51d2078fe6ff28098 100644 --- a/LibreNMS/Data/Store/Rrd.php +++ b/LibreNMS/Data/Store/Rrd.php @@ -427,7 +427,7 @@ class Rrd extends BaseDatastore if ($this->rrdcached) { $output = $this->command('list', '/' . self::safeName($hostname)); - $files = array_filter(explode("\n", trim($output)), fn($file) => str_starts_with($file, $prefix)); + $files = array_filter(explode("\n", trim($output)), fn ($file) => str_starts_with($file, $prefix)); } else { $files = glob($this->dirFromHost($hostname) . '/' . $prefix . '*.rrd') ?: []; }