Commit b2f758db authored by Leigh Stoller's avatar Leigh Stoller

Use reservation name when getting nodes for a pre-reserve, so that

we sort them into the right bins.
parent 3074b79f
......@@ -260,7 +260,8 @@ sub PreReservations()
# Which nodes have actually been pre-reserved.
my $current_result =
DBQueryWarn("select node_id,type from nodes ".
"where reserved_pid='$pid'");
"where reserved_pid='$pid' and ".
" reservation_name='$name'");
return GeniResponse->Create(GENIRESPONSE_ERROR)
if (!$current_result);
while (my ($node_id, $ntype) = $current_result->fetchrow_array()) {
......
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