-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Feature command #12014
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
Feature command #12014
Conversation
Signed-off-by: danish9039 <[email protected]>
Signed-off-by: danish9039 <[email protected]>
Signed-off-by: danish9039 <[email protected]>
…elemetry-collector into feature-command
Signed-off-by: danish9039 <[email protected]>
songy23
left a comment
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.
I think this needs a changelog
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #12014 +/- ##
==========================================
+ Coverage 91.35% 91.36% +0.01%
==========================================
Files 467 467
Lines 25761 25795 +34
==========================================
+ Hits 23533 23567 +34
Misses 1810 1810
Partials 418 418 ☔ View full report in Codecov by Sentry. |
Signed-off-by: danish9039 <[email protected]>
Signed-off-by: danish9039 <[email protected]>
| featuregate.GlobalRegistry().VisitAll(func(g *featuregate.Gate) { | ||
| if g.ID() == args[0] { | ||
| found = true | ||
| fmt.Printf("Feature: %s\n", g.ID()) | ||
| fmt.Printf("Enabled: %v\n", g.IsEnabled()) | ||
| fmt.Printf("Stage: %s\n", g.Stage()) | ||
| fmt.Printf("Description: %s\n", g.Description()) | ||
| fmt.Printf("From Version: %s\n", g.FromVersion()) | ||
| if g.ToVersion() != "" { | ||
| fmt.Printf("To Version: %s\n", g.ToVersion()) | ||
| } | ||
| } | ||
| }) |
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.
Doesn't block this PR, but this feature is a great use case for #7625
Signed-off-by: danish9039 <[email protected]>
This reverts commit 5caf4e4. ## Which problem is this PR solving? - Since upstream PR open-telemetry/opentelemetry-collector#12014 was merged, we don't need our own command anymore ## Description of the changes - Revert previous PR ## How was this change tested? ``` $ go run ./cmd/jaeger featuregate ``` Signed-off-by: Yuri Shkuro <[email protected]>
…gertracing#6771) This reverts commit 5caf4e4. ## Which problem is this PR solving? - Since upstream PR open-telemetry/opentelemetry-collector#12014 was merged, we don't need our own command anymore ## Description of the changes - Revert previous PR ## How was this change tested? ``` $ go run ./cmd/jaeger featuregate ``` Signed-off-by: Yuri Shkuro <[email protected]> Signed-off-by: amol-verma-allen <[email protected]>
Description
Link to tracking issue
Testing
makemake testDocumentation