-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
failed on unregistered featuregate #5660
failed on unregistered featuregate #5660
Conversation
Signed-off-by: Ziqi Zhao <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #5660 +/- ##
=======================================
Coverage 91.41% 91.42%
=======================================
Files 191 191
Lines 11386 11398 +12
=======================================
+ Hits 10409 10421 +12
Misses 778 778
Partials 199 199
Continue to review full report at Codecov.
|
Signed-off-by: Ziqi Zhao <[email protected]>
CHANGELOG.md
Outdated
@@ -5,6 +5,7 @@ | |||
### 💡 Enhancements 💡 | |||
|
|||
- Add `linux-ppc64le` architecture to cross build tests in CI | |||
- Collector failed when passed an unregistered feature gate (#5660) |
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.
Please also add an entry in the Deprecated section for the deprecated Apply
function
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.
The entry is supplied.
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.
One question, please add a unit test as well to ensure the functionality works as expected
@fatsheep9146 can you also add a new test(s) that verify the collector fails to start on an unknown feature flag |
Signed-off-by: Ziqi Zhao <[email protected]>
@TylerHelmuth @codeboten |
Signed-off-by: Ziqi Zhao <[email protected]>
Signed-off-by: Ziqi Zhao <[email protected]>
Signed-off-by: Ziqi Zhao <[email protected]>
Signed-off-by: Ziqi Zhao [email protected]
Description: <Describe what has changed.
Enhance registry to support failing on unregistered featuregate
fix #5656