Fix typo in memory graph generation.
This commit is contained in:
parent
17ff3930ea
commit
12289bdac5
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user