Skip to content

Commit

Permalink
Fix gRPC error handling for mirror-gateway handler (vdaas#2665)
Browse files Browse the repository at this point in the history
* fix: use FromError function when stream rpc error occurs

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

* fix: delete ParseError of Register RPC error handling

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

* fix: crud rpc error handling

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

* fix: add code comment and refactor multi crud error handling

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

* fix: deleted unnecessary error resource info

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

* fix: typo

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

* fix: status code when the parse is failed

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

* fix: ignore parse success variable

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

* fix: use FromError function for stream error

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

* fix: error status handling

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

* fix: typo

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>

---------

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
Co-authored-by: Kosuke Morimoto <ksk@vdaas.org>
  • Loading branch information
2 people authored and takuyaymd committed Dec 2, 2024
1 parent 928e356 commit 3622010
Show file tree
Hide file tree
Showing 2 changed files with 272 additions and 258 deletions.
Loading

0 comments on commit 3622010

Please sign in to comment.