Commit 1696088e authored by Leigh Stoller's avatar Leigh Stoller

For reboot/reload change the sliver status immediately instead of

waiting for the node raw state to change. This fixes a small UI problem
in the Portal when rebooting/reloading, where node box would take a long
time to flip from gree, or flip back and forth very quickly.
parent c26cf661
......@@ -3321,6 +3321,7 @@ sub BatchAction($$@)
# We do this so the slivers no longer say "ready" in the status.
foreach my $sliver (@slivers) {
$sliver->SetState("restarting");
$sliver->SetStatus("changing");
}
if ($reload) {
......
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