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
79b6644f
Commit
79b6644f
authored
Jan 09, 2018
by
Leigh B Stoller
Browse files
Fix minor bug fix uncovered by mysql 5.7.
parent
5d0ff72b
Changes
1
Hide whitespace changes
Inline
Side-by-side
apt/manage_dataset.in
View file @
79b6644f
#!/usr/bin/perl -w
#
# Copyright (c) 2000-201
7
University of Utah and the Flux Group.
# Copyright (c) 2000-201
8
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -575,10 +575,11 @@ sub DoRefreshInternal($$)
my
$blob
=
$response
->
value
();
print
Dumper
(
$blob
);
$dataset
->
Update
({"
last_used
"
=>
TBDateStringLocal
(
$blob
->
{"
lastused
"}),
"
expires
"
=>
TBDateStringLocal
(
$blob
->
{"
expires
"})});
$dataset
->
Update
({"
updated
"
=>
TBDateStringLocal
(
$blob
->
{"
updated
"})})
$dataset
->
Update
({"
expires
"
=>
TBDateStringLocal
(
$blob
->
{"
expires
"})});
$dataset
->
Update
({"
updated
"
=>
TBDateStringLocal
(
$blob
->
{"
updated
"})})
if
(
$blob
->
{"
updated
"});
$dataset
->
Update
({"
last_used
"
=>
TBDateStringLocal
(
$blob
->
{"
lastused
"})})
if
(
$blob
->
{"
lastused
"}
&&
$blob
->
{"
lastused
"}
ne
"");
if
(
$blob
->
{"
busy
"})
{
$dataset
->
Update
({"
state
"
=>
"
busy
"});
...
...
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