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

Refactor logcli Client interface to use time objects for LiveTailQueryConn #3271

Merged
merged 1 commit into from
Feb 2, 2021

Conversation

chancez
Copy link
Contributor

@chancez chancez commented Jan 29, 2021

What this PR does / why we need it:
Refactors the logcli Client interface to use time.Time and time.Duration like
all the other methods use, for consistency and to reduce possible user-errors
when converting between times and integers.

Special notes for your reviewer:

Depends on #3270, which this PR builds upon. Separate PRs to handle bug fixes
and refactoring separately.

Copy link
Contributor

@sandeepsukhani sandeepsukhani left a comment

Choose a reason for hiding this comment

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

Suggested a minor fix. Can you also please rebase the PR?
I have merged #3270

pkg/logcli/client/client.go Outdated Show resolved Hide resolved
@chancez
Copy link
Contributor Author

chancez commented Feb 1, 2021

Updated and rebased.

Copy link
Member

@owen-d owen-d left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@sandeepsukhani sandeepsukhani left a comment

Choose a reason for hiding this comment

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

Thanks for addressing my feedback.
LGTM

@owen-d owen-d merged commit 054b8fc into grafana:master Feb 2, 2021
@chancez chancez deleted the refactor_logcli_client branch February 2, 2021 18:32
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