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

Moves request parsing into the loghttp package #1171

Merged
merged 2 commits into from
Oct 17, 2019

Conversation

cyriltovena
Copy link
Contributor

@cyriltovena cyriltovena commented Oct 17, 2019

What this PR does / why we need it:

This moves the request parsing logic out of the querier and into the loghttp package so that can be used by other packages.

Special notes for your reviewer:

Also added more tests missing.

Checklist

  • [ x] Documentation added
  • [x ] Tests updated

/cc @slim-bean

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

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

LGTM.

If you're up for it I would support moving those marshal/unmarshal packages below loghttp as well.

@cyriltovena
Copy link
Contributor Author

LGTM.

If you're up for it I would support moving those marshal/unmarshal packages below loghttp as well.

I'll open another PR, thank you !

@cyriltovena cyriltovena merged commit 1abe884 into grafana:master Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants