All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit b2f758db authored by Leigh B Stoller's avatar Leigh B 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