Skip to content

Convert Kubernetes errors to gRPC errors#89

Merged
merenbach merged 3 commits intoargoproj:masterfrom
merenbach:convert-errors
Apr 17, 2018
Merged

Convert Kubernetes errors to gRPC errors#89
merenbach merged 3 commits intoargoproj:masterfrom
merenbach:convert-errors

Conversation

@merenbach
Copy link
Contributor

This resolves #30 by adding interceptors to convert error codes from Kubernetes errors (the identities of which may be tested using functions) into numeric codes for more appropriate gRPC responses.

@merenbach merenbach requested review from alexmt and jessesuen April 16, 2018 18:38
Copy link
Member

@wanghong230 wanghong230 left a comment

Choose a reason for hiding this comment

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

LGTM

@alexmt
Copy link
Collaborator

alexmt commented Apr 17, 2018

LGTM

@merenbach merenbach merged commit d7cdb1a into argoproj:master Apr 17, 2018
@merenbach merenbach deleted the convert-errors branch May 7, 2018 16:58
leoluz pushed a commit to leoluz/argo-cd that referenced this pull request Sep 29, 2023
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.

gRPC interceptor to transform kubernetes errors to gRPC errors

4 participants