Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
fd0df2ef
Commit
fd0df2ef
authored
Jul 11, 2016
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add FlushAll() and hook into emutil cache flush.
parent
5f984a6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
db/Reservation.pm.in
db/Reservation.pm.in
+9
-0
No files found.
db/Reservation.pm.in
View file @
fd0df2ef
...
...
@@ -34,6 +34,7 @@ use English;
use
Date
::
Parse
;
use
emdb
;
use
libtestbed
;
use
emutil
;
use
Project
;
use
User
;
use
Experiment
;
...
...
@@ -43,6 +44,14 @@ use overload ('""' => 'Stringify');
my
$
TB
=
"@prefix@"
;
my
%
cache
=
();
BEGIN
{
use
emutil
;
emutil
::
AddCache
(\%
cache
);
}
sub
FlushAll
($)
{
my
($
class
)
=
@
_
;
%
cache
=
();
}
sub
CreateCommon
($$$$$$$$)
{
...
...
Write
Preview
Markdown
is supported
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