diff --git a/pages/static/containers_js.go b/pages/static/containers_js.go index ce513e0d..17217b6b 100644 --- a/pages/static/containers_js.go +++ b/pages/static/containers_js.go @@ -1673,7 +1673,7 @@ function drawMemoryUsage(elementId, machineInfo, containerInfo) { // Get the memory limit, saturate to the machine size. var memory_limit = machineInfo.memory_capacity; if (containerInfo.spec.memory.limit && (containerInfo.spec.memory.limit < memory_limit)) { - memory_limit = machineInfo.spec.memory.limit;; + memory_limit = containerInfo.spec.memory.limit; } // Updating the progress bar.