From 12289bdac58304ef02f2879f48b57bb5b09a4bd7 Mon Sep 17 00:00:00 2001 From: Rohit Jnagal Date: Mon, 5 Jan 2015 20:49:46 +0000 Subject: [PATCH] Fix typo in memory graph generation. --- pages/static/containers_js.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/static/containers_js.go b/pages/static/containers_js.go index 603b3b50..a285e4c8 100644 --- a/pages/static/containers_js.go +++ b/pages/static/containers_js.go @@ -1671,7 +1671,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.