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

[CORE-2214] pachctl datum logs #9962

Merged
merged 13 commits into from
Apr 22, 2024
Merged

Conversation

robert-uhl
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Apr 19, 2024

Codecov Report

Attention: Patch coverage is 9.52381% with 19 lines in your changes are missing coverage. Please review.

Project coverage is 57.85%. Comparing base (d9a3a23) to head (a41bd81).
Report is 1 commits behind head on master.

Files Patch % Lines
src/server/logs/cmds/cmds.go 9.52% 19 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9962      +/-   ##
==========================================
- Coverage   58.26%   57.85%   -0.42%     
==========================================
  Files         612      612              
  Lines       74827    74846      +19     
==========================================
- Hits        43600    43300     -300     
- Misses      30675    31002     +327     
+ Partials      552      544       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@robert-uhl robert-uhl marked this pull request as ready for review April 19, 2024 19:47
if cmd.Flag("project").Changed || cmd.Flag("pipeline").Changed {
fmt.Fprintln(os.Stderr, "only one of [--logQL | --project PROJECT --pipeline PIPELINE] may be set")
if cmd.Flag("project").Changed || cmd.Flag("pipeline").Changed || cmd.Flag("datum").Changed {
fmt.Fprintln(os.Stderr, "only one of [--logQL | --project PROJECT --pipeline PIPELINE | --datum DATUM] may be set")
Copy link
Member

Choose a reason for hiding this comment

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

I think that return errors.New(...) has the same effect with how we have everything set up.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There’s no return value to the Run function. Maybe it should be RunE?

@robert-uhl robert-uhl merged commit 6d0fd64 into master Apr 22, 2024
21 checks passed
@robert-uhl robert-uhl deleted the rau/core-2214-pachctl-datum-logs branch April 22, 2024 12:24
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.

None yet

2 participants