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
d712823a
Commit
d712823a
authored
Dec 01, 2011
by
Leigh B Stoller
Browse files
Perl is strange.
parent
17b02e35
Changes
1
Show whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCM.pm.in
View file @
d712823a
...
...
@@ -5812,12 +5812,15 @@ sub AddKeys($$$)
push
(@
keylist
,
$
keyref
->{
'key'
});
}
my
$
urn
=
$
ref
->{
'urn'
}
if
(
exists
($
ref
->{
'urn'
}));
#
Allow
user
to
override
urn
token
.
my
$
uid
=
$
ref
->{
'login'
}
if
(
exists
($
ref
->{
'login'
}));
my
$
urn
;
my
$
uid
;
my
$
name
;
my
$
email
;
$
urn
=
$
ref
->{
'urn'
}
if
(
exists
($
ref
->{
'urn'
}));
#
Allow
user
to
override
urn
token
.
$
uid
=
$
ref
->{
'login'
}
if
(
exists
($
ref
->{
'login'
}));
#
The
slice
owner
is
easy
.
if
(
defined
($
urn
)
&&
$
urn
eq
$
owner
->
urn
())
{
$
name
=
$
owner
->
name
();
...
...
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