Skip to content

Commit

Permalink
Fixed typo in topPods command
Browse files Browse the repository at this point in the history
  • Loading branch information
kamadek-sys authored Oct 24, 2023
1 parent f1f8949 commit 75fea48
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 75fea48

Please sign in to comment.