-
Notifications
You must be signed in to change notification settings - Fork 567
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
Conversation
…derm/pachyderm into rau/core-2129-datum-logs-follow-on
Codecov ReportAttention: Patch coverage is
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. |
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") |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
?
No description provided.