Skip to content

Commit

Permalink
[Infra][Hosts] Remove unnecessary code added for local testing (elast…
Browse files Browse the repository at this point in the history
…ic#191572)

## Summary

Small PR to remove code that was mistakenly merged for local testing.
  • Loading branch information
iblancof authored Aug 28, 2024
1 parent 74ba0b4 commit f7520a6
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,6 @@ const buildMetricCell = (
};

const buildItemsList = (nodes: InfraAssetMetricsItem[]): HostNodeRow[] => {
nodes.map((node) => {
if (node.name === 'instance') {
node.metrics[0].value = 0;
node.hasSystemMetrics = true;
}
return node;
});

return nodes.map(({ metrics, metadata, name, alertsCount, hasSystemMetrics }) => {
const metadataKeyValue = metadata.reduce(
(acc, curr) => ({
Expand Down

0 comments on commit f7520a6

Please sign in to comment.