Commit 1eddb639 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

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

make sure nothing has changed.
parent 6a3c51b9
#!/usr/bin/perl -w
# 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.
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