Commit 18385e37 authored by Leigh B Stoller's avatar Leigh B Stoller

Initial aggregate status should be up instead of down, since we might

not have set the Monitor flag on that aggregate.
parent c7dd862c
#!/usr/bin/perl -wT
#
# Copyright (c) 2007-2018 University of Utah and the Flux Group.
# Copyright (c) 2007-2019 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -80,7 +80,7 @@ sub Lookup($$)
if (!$query_result->numrows) {
DBQueryWarn("replace into apt_aggregate_status set ".
" urn=$safe_urn, status='down'");
" urn=$safe_urn, status='up'");
$query_result =
DBQueryWarn("select * from apt_aggregate_status ".
"where urn=$safe_urn");
......
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