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

cmd: Silence warning about logrus.Fatal usage when directive has been supplied #2462

Conversation

timflannagan
Copy link
Member

Update the cmd/[catalog,olm] main packages and silence any vet warnings
about logrus.Fatal usage that supply formatting directives:

$ go vet ./cmd/...
cmd/catalog/main.go:114:3: Fatal call has possible formatting directive %v
cmd/olm/main.go:123:3: Fatal call has possible formatting directive %v

Signed-off-by: timflannagan [email protected]

Description of the change:

Motivation for the change:

Reviewer Checklist

  • Implementation matches the proposed design, or proposal is updated to match implementation
  • Sufficient unit test coverage
  • Sufficient end-to-end test coverage
  • Docs updated or added to /doc
  • Commit messages sensible and descriptive

… supplied

Update the cmd/[catalog,olm] main packages and silence any vet warnings
about logrus.Fatal usage that supply formatting directives:

```bash
$ go vet ./cmd/...
cmd/catalog/main.go:114:3: Fatal call has possible formatting directive %v
cmd/olm/main.go:123:3: Fatal call has possible formatting directive %v
```

Signed-off-by: timflannagan <[email protected]>
@timflannagan timflannagan force-pushed the cmd/fix-fatal-directive-usage branch from ab507e8 to 5853cb3 Compare December 2, 2021 14:52
@perdasilva
Copy link
Collaborator

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 2, 2021
@kevinrizza
Copy link
Member

/approve

@openshift-ci
Copy link

openshift-ci bot commented Dec 3, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kevinrizza, timflannagan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 3, 2021
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 3949ceb into operator-framework:master Dec 6, 2021
@timflannagan timflannagan deleted the cmd/fix-fatal-directive-usage branch December 6, 2021 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants