Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
47380550
Commit
47380550
authored
Jan 02, 2018
by
Leigh B Stoller
Browse files
Small tweak to ExpectedEnd().
parent
2b269088
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/Reservation.pm.in
View file @
47380550
#
!/usr/bin/perl -wT
#
#
Copyright
(
c
)
2016
-
201
7
University
of
Utah
and
the
Flux
Group
.
#
Copyright
(
c
)
2016
-
201
8
University
of
Utah
and
the
Flux
Group
.
#
#
{{{
EMULAB
-
LICENSE
#
...
...
@@ -1462,7 +1462,12 @@ sub ExpectedEnd($$) {
my ($class, $experiment) = @_;
if ($experiment->lockdown() || !$experiment->swappable()) {
#
# Geni experiments are locked down and not swappable, so we want
# to use the expt_expires instead.
#
if (($experiment->lockdown() || !$experiment->swappable()) &&
!$experiment->geniflags()) {
return undef;
} elsif( $experiment->autoswap() ) {
if ($experiment->state() eq EXPTSTATE_SWAPPED() ||
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment