Skip to content
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

Validate local storage config for the logcli #2126

Merged
merged 2 commits into from
Jun 2, 2020

Conversation

cyriltovena
Copy link
Contributor

I was doing some testing and realize that we don't validate the config.

Config validation also set the schema shard which was failing with my default config.

Fixes grafana#1296

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
@codecov-commenter
Copy link

Codecov Report

Merging #2126 into master will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2126      +/-   ##
==========================================
- Coverage   61.25%   61.24%   -0.02%     
==========================================
  Files         146      146              
  Lines       11196    11198       +2     
==========================================
  Hits         6858     6858              
- Misses       3793     3795       +2     
  Partials      545      545              
Impacted Files Coverage Δ
pkg/logcli/query/query.go 0.00% <0.00%> (ø)
pkg/logql/evaluator.go 90.69% <0.00%> (-0.59%) ⬇️
pkg/promtail/targets/tailer.go 80.68% <0.00%> (+2.27%) ⬆️

@owen-d owen-d merged commit 4c8199e into grafana:master Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants