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
75913d5c
Commit
75913d5c
authored
Dec 02, 2009
by
Gary Wong
Browse files
Maintain compatibility with pre-URN authorities.
parent
a14eca79
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniAuthority.pm.in
View file @
75913d5c
...
...
@@ -175,7 +175,8 @@ sub Create($$$$)
#
Delete
from
cache
,
since
we
use
replace
above
.
delete
($
authorities
{$
certificate
->
uuid
()});
return
GeniAuthority
->
Lookup
($
certificate
->
URN
());
return
GeniAuthority
->
Lookup
(
defined
(
$
certificate
->
urn
()
)
?
$
certificate
->
urn
()
:
$
certificate
->
uuid
()
);
}
#
accessors
sub
field
($$)
{
return
((
! ref($_[0])) ? -1 : $_[0]->{'AUTHORITY'}->{$_[1]}); }
...
...
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