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

Add max_concurrent to listing when not zero.

parent d05f2d81
...@@ -1163,6 +1163,7 @@ function SHOWOSINFO($osid) { ...@@ -1163,6 +1163,7 @@ function SHOWOSINFO($osid) {
$created = $osrow[created]; $created = $osrow[created];
$mustclean = $osrow[mustclean]; $mustclean = $osrow[mustclean];
$nextosid = $osrow[nextosid]; $nextosid = $osrow[nextosid];
$max_concurrent = $osrow[max_concurrent];
if (!$os_description) if (!$os_description)
$os_description = "&nbsp"; $os_description = "&nbsp";
...@@ -1241,6 +1242,13 @@ function SHOWOSINFO($osid) { ...@@ -1241,6 +1242,13 @@ function SHOWOSINFO($osid) {
<td class=\"left\">$os_op_mode</td> <td class=\"left\">$os_op_mode</td>
</tr>\n"; </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> echo "<tr>
<td>Shared?: </td> <td>Shared?: </td>
<td class=left>\n"; <td class=left>\n";
......
Supports Markdown
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