-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
examples: Fix deprecations/warnings in configs #13503
examples: Fix deprecations/warnings in configs #13503
Conversation
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.
Great thanks. cc @htuch it would be good to understand why this wasn't failing by default in config checking.
@mattklein123 there are some further warnings left, im happy to land this and address after (if tests pass) - or i can go through the remaining ones |
We can just land this. I would still like to understand why we are not failing on these warnings in the config test, but we can look into that separately. |
There are still dangling references to v2 in the examples. These should be bumped to v3.
|
@moderation cool, ill update... |
(Would still like to figure out why this is not failing by default) |
@mattklein123 are you asking:
|
see #13542 |
I'm fairly sure that (1) has been implemented already for using deprecated fields. I know @alyssawilk fixed this to fail by default at some point, but I'm guessing it's somehow not working for the typed_config warnings for v2 types. For (2) I'm just suggesting that if we are using a deprecated typed_config we should fail the config_test by default like we do for other deprecated config. |
@htuch see envoy/test/config_test/config_test.cc Lines 75 to 84 in cb7691c
|
@mattklein123 @htuch please can we move to the ticket - rather than a landed PR, thanks |
I'll take care of this when I work on (2). |
Signed-off-by: Ryan Northey <ryan@synca.io> Signed-off-by: phlax <phlax@users.noreply.github.com> Signed-off-by: Antonio Vicente <avd@google.com>
Signed-off-by: Ryan Northey <ryan@synca.io> Signed-off-by: Christoph Pakulski <christoph@tetrate.io> Signed-off-by: phlax <phlax@users.noreply.github.com>
Signed-off-by: Ryan Northey <ryan@synca.io> Signed-off-by: phlax <phlax@users.noreply.github.com> Signed-off-by: Christoph Pakulski <christoph@tetrate.io>
Signed-off-by: Ryan Northey ryan@synca.io
Commit Message: examples: Fix deprecations/warnings in configs
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Runtime guard:]
[Optional Fixes #Issue] Fix #13467
[Optional Deprecated:]