-
Notifications
You must be signed in to change notification settings - Fork 344
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
Enable dependencies and index cleaner by default #162
Enable dependencies and index cleaner by default #162
Conversation
Codecov Report
@@ Coverage Diff @@
## master #162 +/- ##
==========================================
+ Coverage 96.36% 96.38% +0.02%
==========================================
Files 30 30
Lines 1430 1438 +8
==========================================
+ Hits 1378 1386 +8
Misses 40 40
Partials 12 12
Continue to review full report at Codecov.
|
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.
Reviewed 11 of 11 files at r1, 1 of 1 files at r2.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @pavolloffay and @objectiser)
pkg/strategy/controller.go, line 113 at r2 (raw file):
func normalizeIndexCleaner(spec *v1alpha1.JaegerEsIndexCleanerSpec, storage string) { // auto enable only for supported storages if storage == "elasticsearch" && spec.Enabled == nil {
We usually compare with strings.ToLower
, so that Elasticsearch
would be a match as well. You know, "be lenient with what you receive" :-)
pkg/strategy/controller_test.go, line 174 at r2 (raw file):
defer viper.Reset() trueVar := true falseVar := false
Why can't Go provide a more elegant way to do this...
@jpkrohling updated |
Signed-off-by: Pavol Loffay <[email protected]>
Signed-off-by: Pavol Loffay <[email protected]>
Signed-off-by: Pavol Loffay <[email protected]>
f0279e0
to
1444a77
Compare
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.
Reviewed 3 of 3 files at r3.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @objectiser)
Signed-off-by: Pavol Loffay [email protected]