Skip to content

Commit 4c4e88b

Browse files
authored
Merge pull request #1369 from kamadek-sys/master
Fixed typo in topPods command
2 parents be0431a + 75fea48 commit 4c4e88b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/top.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export async function topPods(api: CoreV1Api, metrics: Metrics, namespace?: stri
123123
podRequestsCPU = add(podRequestsCPU, containerCpuTotal.request);
124124
podLimitsCPU = add(podLimitsCPU, containerCpuTotal.limit);
125125

126-
podRequestsMem = add(podLimitsMem, containerMemTotal.request);
126+
podRequestsMem = add(podRequestsMem, containerMemTotal.request);
127127
podLimitsMem = add(podLimitsMem, containerMemTotal.limit);
128128

129129
// Find the container metrics by container.name

0 commit comments

Comments
 (0)