1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Revert change

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-02-15 15:28:36 -05:00
parent 304d955e46
commit 6572d8e399

View File

@ -58,15 +58,13 @@ const requestMetricsInjectable = getInjectable({
end = now;
}
const res = await apiBase.post("/metrics", {
return apiBase.post("/metrics", {
data: query,
query: {
start, end, step,
"kubernetes_namespace": namespace,
},
});
return res;
}
return requestMetrics;