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

Minor bug fix for terminating geni slivers.

parent c01efcf6
<?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
#
......@@ -126,6 +126,7 @@ $idleswap_bit = $experiment->idleswap();
$idleswap_time = $experiment->idleswap_timeout();
$idlethresh = min($idleswap_time/60.0,TBGetSiteVar("idle/threshold"));
$lockdown = $experiment->lockdown();
$isgeni = $experiment->geniflags();
# Template Instance Experiments get special treatment in this page.
$instance = TemplateInstance::LookupByExptidx($exptidx);
......@@ -316,6 +317,9 @@ else {
STARTLOG($experiment);
}
}
elseif ($isgeni) {
echo "Done!";
}
elseif ($isbatch) {
if (strcmp($inout, "in") == 0) {
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