fix format

This commit is contained in:
Damodar Lohani
2025-01-27 06:15:59 +00:00
parent 5d5547c6b9
commit 55cbab6270
+1 -1
View File
@@ -501,7 +501,7 @@ class Usage extends Action
}
protected function createOrUpdateMetric(Database $dbForLogs, string $region, string $metric, int $value)
{
{
foreach ($this->periods as $period => $format) {
$time = 'inf' === $period ? null : \date($format, \time());
$id = \md5("{$time}_{$period}_{$metric}");