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
67672e82
Commit
67672e82
authored
Mar 24, 2017
by
Leigh B Stoller
Browse files
Minor cleanup.
parent
0e5ca415
Changes
1
Hide whitespace changes
Inline
Side-by-side
apt/create_instance.in
View file @
67672e82
...
...
@@ -1218,12 +1218,18 @@ sub CreateDatasetCreds($$$$$)
my
$pid
=
$dataset
->
pid
();
my
$id
=
$dataset
->
dataset_id
();
my
$cmd
=
"
$MANAGEDATASET
getcredential -a
$manager_urn
$pid
/
$id
";
my
$
credential
=
`
$cmd
`
;
my
$
output
=
emutil::
ExecQuiet
(
$cmd
)
;
if
(
$?
)
{
$$pmsg
=
"
Could not generate credential for
$dataset_urn
";
if
((
$?
>>
8
)
>
0
)
{
if
(
$output
ne
"")
{
$$pmsg
=
"
$dataset_urn
"
.
"
:
"
.
$output
;
}
return
1
;
}
return
-
1
;
}
push
(
@credentials
,
$
credential
);
push
(
@credentials
,
$
output
);
}
}
@$pref
=
@credentials
;
...
...
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