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 1eddb639 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor fix; after locking thet tables, reload the reservation info to

make sure nothing has changed.
parent 6a3c51b9
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2008 University of Utah and the Flux Group.
# Copyright (c) 2000-2009 University of Utah and the Flux Group.
# All rights reserved.
#
use strict;
......@@ -154,6 +154,9 @@ foreach my $n (@node_names) {
die("*** $0:\n".
" No such node $n!\n");
}
# Force reload after table lock.
$node->FlushReserved();
my $reserved_experiment = $node->ReservationID();
if ($reserved_experiment) {
# Someone has already reserved this node
......
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