-
Notifications
You must be signed in to change notification settings - Fork 39
PMM-9377 add compatibility with updated grpc-gateway v2 #1005
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1005 +/- ##
==========================================
- Coverage 49.77% 49.76% -0.02%
==========================================
Files 173 173
Lines 20404 20409 +5
==========================================
Hits 10157 10157
- Misses 9114 9119 +5
Partials 1133 1133
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
1985d98
to
4898d77
Compare
errorField := payload.Elem().FieldByName("Message") | ||
require.True(t, errorField.IsValid(), "Wrong response structure. There is no field Message in Payload.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should keep the same structure for backward compatibility
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Problem though is that the Error field is no longer included in the struct as a result of this PR: Remove "error" field from errors.
Lr: "2m", | ||
Lr: "120s", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you change these values? don't we support them anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
6a6f6f4
to
8c65d66
Compare
8c65d66
to
2a41b39
Compare
PMM-9377
Build: SUBMODULES-2355