Skip to content

Commit

Permalink
Merge pull request #1369 from kamadek-sys/master
Browse files Browse the repository at this point in the history
Fixed typo in topPods command
  • Loading branch information
k8s-ci-robot authored Oct 24, 2023
2 parents be0431a + 75fea48 commit 4c4e88b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/top.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export async function topPods(api: CoreV1Api, metrics: Metrics, namespace?: stri
podRequestsCPU = add(podRequestsCPU, containerCpuTotal.request);
podLimitsCPU = add(podLimitsCPU, containerCpuTotal.limit);

podRequestsMem = add(podLimitsMem, containerMemTotal.request);
podRequestsMem = add(podRequestsMem, containerMemTotal.request);
podLimitsMem = add(podLimitsMem, containerMemTotal.limit);

// Find the container metrics by container.name
Expand Down

0 comments on commit 4c4e88b

Please sign in to comment.