Skip to content

Conversation

No-SilverBullet
Copy link
Member

based on issue #2762, fix some err return bugs.

Copy link
Contributor

@FoghostCn FoghostCn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if err != nil {
return nil, err
}
if ok := ca.AppendCertsFromPEM(caBytes); !ok {
return nil, err
}

same problem;

Copy link

@No-SilverBullet
Copy link
Member Author

if err != nil {
return nil, err
}
if ok := ca.AppendCertsFromPEM(caBytes); !ok {
return nil, err
}

same problem;

got it, already fixed

@FoghostCn FoghostCn linked an issue Dec 17, 2024 that may be closed by this pull request
@AlexStocks AlexStocks merged commit f3614e9 into apache:develop Dec 17, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Code bug: should return a error but return a nil value error
3 participants