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

loki: Convert module names to string #1794

Merged
merged 1 commit into from
Mar 11, 2020
Merged

loki: Convert module names to string #1794

merged 1 commit into from
Mar 11, 2020

Conversation

pstibrany
Copy link
Member

This is a trivial change that converts moduleName from number to a string. It allows us to remove bit of a code.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
@codecov-io
Copy link

Codecov Report

Merging #1794 into master will increase coverage by 0.49%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1794      +/-   ##
==========================================
+ Coverage   64.42%   64.92%   +0.49%     
==========================================
  Files         122      122              
  Lines        9239     9182      -57     
==========================================
+ Hits         5952     5961       +9     
+ Misses       2874     2812      -62     
+ Partials      413      409       -4
Impacted Files Coverage Δ
pkg/loki/modules.go 13.39% <0%> (+2.87%) ⬆️
pkg/logql/evaluator.go 91.81% <0%> (+0.58%) ⬆️
pkg/promtail/targets/filetarget.go 70.55% <0%> (+1.84%) ⬆️
pkg/promtail/targets/tailer.go 78.4% <0%> (+4.54%) ⬆️

Copy link
Member

@rfratto rfratto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rfratto rfratto merged commit dac8615 into grafana:master Mar 11, 2020
@pstibrany pstibrany deleted the module-names branch March 11, 2020 13:23
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.

3 participants