Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
3be88cd1
Commit
3be88cd1
authored
Mar 04, 2014
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix IsError test, was reversed.
parent
89452740
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
protogeni/lib/GeniStd.pm.in
protogeni/lib/GeniStd.pm.in
+3
-2
No files found.
protogeni/lib/GeniStd.pm.in
View file @
3be88cd1
...
...
@@ -46,6 +46,7 @@ use GeniCredential;
use
GeniRegistry
;
use
emutil
;
use
URI
;
use
Data
::
Dumper
;
#
Filter
out
any
credentials
of
an
uknown
type
leaving
only
geni_sfa
#
version
2
and
version
3
credentials
in
a
list
.
Also
invokes
...
...
@@ -242,7 +243,7 @@ sub CheckCredentials($)
#
$
speakee
=
shift
(@
credentials
);
$
speakee
=
GeniCredential
::
CheckCredential
($
speakee
);
if
(
!
GeniResponse::IsError($speakee)) {
if
(
GeniResponse
::
IsError
($
speakee
))
{
$
error
=
$
speakee
;
goto
bad
;
}
...
...
@@ -253,7 +254,7 @@ sub CheckCredentials($)
#
foreach
my
$
credential
(@
rest
)
{
$
credential
=
GeniCredential
::
CheckCredential
($
credential
);
if
(
!
GeniResponse::IsError($credential)) {
if
(
GeniResponse
::
IsError
($
credential
))
{
$
error
=
$
credential
;
goto
bad
;
}
...
...
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