remove broken filter
parent
a5e0a3f2c5
commit
9d36ec5c0f
|
@ -375,7 +375,7 @@ function filter(): void
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// remove data points with the same name and labels, keep the newest
|
// remove data points with the same name and labels, keep the newest
|
||||||
$filterEntries = [];
|
/* $filterEntries = [];
|
||||||
foreach ($data as $key => $entry) {
|
foreach ($data as $key => $entry) {
|
||||||
$sort = $entry["labels"] ?? [];
|
$sort = $entry["labels"] ?? [];
|
||||||
ksort($sort);
|
ksort($sort);
|
||||||
|
@ -402,6 +402,7 @@ function filter(): void
|
||||||
return in_array($key, $keysToKeep);
|
return in_array($key, $keysToKeep);
|
||||||
});
|
});
|
||||||
$data = array_values($data);
|
$data = array_values($data);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
function getEnvWithDefaultStr(string $key, string $default): string
|
function getEnvWithDefaultStr(string $key, string $default): string
|
||||||
|
|
Loading…
Reference in New Issue