You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should cpu = +int(c['usage']['cpu'][:-1]) be cpu += int(c['usage']['cpu'][:-1])? Similarly, mem = +int(m['usage']['memory'][:-2]) may also be mem += int(m['usage']['memory'][:-2])?
The text was updated successfully, but these errors were encountered:
transferred from cisagov#299, thanks to @ya0guang
Here is a code snippet in function
pod_stats
:Should
cpu = +int(c['usage']['cpu'][:-1])
becpu += int(c['usage']['cpu'][:-1])
? Similarly,mem = +int(m['usage']['memory'][:-2])
may also bemem += int(m['usage']['memory'][:-2])
?The text was updated successfully, but these errors were encountered: