Merge pull request #418 from rjnagal/docker
Fix typo in memory graph generation.
This commit is contained in:
commit
363f08d591
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user