Commit ea2991d3 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add max_concurrent to listing when not zero.

parent d05f2d81
......@@ -1163,6 +1163,7 @@ function SHOWOSINFO($osid) {
$created = $osrow[created];
$mustclean = $osrow[mustclean];
$nextosid = $osrow[nextosid];
$max_concurrent = $osrow[max_concurrent];
if (!$os_description)
$os_description = "&nbsp";
......@@ -1241,6 +1242,13 @@ function SHOWOSINFO($osid) {
<td class=\"left\">$os_op_mode</td>
</tr>\n";
if (isset($max_concurrent) and $max_concurrent > 0) {
echo "<tr>
<td>Max Concurrent Usage: </td>
<td class=\"left\">$max_concurrent</td>
</tr>\n";
}
echo "<tr>
<td>Shared?: </td>
<td class=left>\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment