Commit 93252ba4 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix for terminating geni slivers.

parent c01efcf6
<?php <?php
# #
# Copyright (c) 2000-2011 University of Utah and the Flux Group. # Copyright (c) 2000-2015 University of Utah and the Flux Group.
# #
# {{{EMULAB-LICENSE # {{{EMULAB-LICENSE
# #
...@@ -126,6 +126,7 @@ $idleswap_bit = $experiment->idleswap(); ...@@ -126,6 +126,7 @@ $idleswap_bit = $experiment->idleswap();
$idleswap_time = $experiment->idleswap_timeout(); $idleswap_time = $experiment->idleswap_timeout();
$idlethresh = min($idleswap_time/60.0,TBGetSiteVar("idle/threshold")); $idlethresh = min($idleswap_time/60.0,TBGetSiteVar("idle/threshold"));
$lockdown = $experiment->lockdown(); $lockdown = $experiment->lockdown();
$isgeni = $experiment->geniflags();
# Template Instance Experiments get special treatment in this page. # Template Instance Experiments get special treatment in this page.
$instance = TemplateInstance::LookupByExptidx($exptidx); $instance = TemplateInstance::LookupByExptidx($exptidx);
...@@ -316,6 +317,9 @@ else { ...@@ -316,6 +317,9 @@ else {
STARTLOG($experiment); STARTLOG($experiment);
} }
} }
elseif ($isgeni) {
echo "Done!";
}
elseif ($isbatch) { elseif ($isbatch) {
if (strcmp($inout, "in") == 0) { if (strcmp($inout, "in") == 0) {
echo "Batch Mode experiments will be run when enough resources echo "Batch Mode experiments will be run when enough resources
......
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