Commit ff395072 authored by Leigh B Stoller's avatar Leigh B Stoller

Another tweak to frisbee event code.

parent 3c64d628
......@@ -1204,6 +1204,7 @@ sub Update($$)
###################################################################
package APT_Instance::Aggregate;
use emdb;
use EmulabConstants;
use WebTask;
use libtestbed;
use Carp;
......@@ -1571,7 +1572,9 @@ sub UpdateWebStatus($$)
#
# Keep frisbeestatus, see below.
#
if (exists($current->{$node_id}->{"frisbeestatus"})) {
if (exists($current->{$node_id}->{"frisbeestatus"}) &&
exists($details->{"rawstate"}) &&
$details->{"rawstate"} eq TBDB_NODESTATE_RELOADING()) {
$details->{"frisbeestatus"} =
$current->{$node_id}->{"frisbeestatus"};
}
......
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