8000 Upgrade finagle to 19.5.1 by dadjeibaah · Pull Request #2284 · linkerd/linkerd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Upgrade finagle to 19.5.1 #2284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 19, 2019
Merged

Upgrade finagle to 19.5.1 #2284

merged 3 commits into from
Jun 19, 2019

Conversation

dadjeibaah
Copy link
Contributor

Signed-off-by: Dennis Adjei-Baah dennis@buoyant.io

Signed-off-by: Dennis Adjei-Baah <dennis@buoyant.io>
Signed-off-by: Dennis Adjei-Baah <dennis@buoyant.io>
Copy link
Member
@adleong adleong left a comment

Choose a reason for hiding this comment

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

⭐ Nice and easy 💼

if (peerCerts.isEmpty) {
service(req).rescue(wrapServiceEx)
} else {
Contexts.local.let(Transport.peerCertCtx, peerCerts.head) {
Copy link
Member

Choose a reason for hiding this comment

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

TIOLI: I tend to prefer the safe headOption instead of the unsafe head:

ie peerCerts.headOption match { ...

Signed-off-by: Dennis Adjei-Baah <dennis@buoyant.io>
@dadjeibaah dadjeibaah merged commit 753fc17 into master Jun 19, 2019
@dadjeibaah dadjeibaah deleted the dad/finagle-19.5.1-upgrade branch June 19, 2019 16:24
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.

2 participants
0