Skip to content
GitLab
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
cee8d186
Commit
cee8d186
authored
Aug 21, 2014
by
Leigh B Stoller
Browse files
Minor bug fix to Update (renew).
parent
2e1056cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniStdSA.pm.in
View file @
cee8d186
...
...
@@ -162,10 +162,10 @@ sub UpdateSlice()
if
(
exists
($
options
->{
'fields'
}->{
'SLICE_DESCRIPTION'
}))
{
$
slice
->
SetDescription
($
options
->{
'fields'
}->{
'SLICE_DESCRIPTION'
});
}
if
(
exists
($
options
->{
'fields'
}->{
'SLICE_EXPIR
ES
'
}))
{
if
(
exists
($
options
->{
'fields'
}->{
'SLICE_EXPIR
ATION
'
}))
{
my
$
args
=
{
"credentials"
=>
GeniStd
::
FilterCredentials
($
credential_args
),
"expiration"
=>
$
options
->{
'fields'
}->{
'SLICE_EXPIR
ES
'
}
"expiration"
=>
$
options
->{
'fields'
}->{
'SLICE_EXPIR
ATION
'
}
};
$
response
=
GeniSA
::
RenewSlice
($
args
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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