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

fix(lint): update linting in metrics-test #243

Merged
merged 2 commits into from
Feb 1, 2022
Merged

fix(lint): update linting in metrics-test #243

merged 2 commits into from
Feb 1, 2022

Conversation

jayjayjpg
Copy link
Contributor

@jayjayjpg jayjayjpg commented Feb 1, 2022

Description of change

This fixes up a small linter error on the CLI.

$ golangci-lint run


cmd/meroxa/global/metrics_test.go:96:18: dynamicFmtString: use errors.New(err) or fmt.Errorf('%s', err) instead (gocritic)
addError(event, fmt.Errorf(err))

Type of change

  • New feature
  • Bug fix
  • Refactor
  • Documentation
  • Chore

How was this tested?

  • Run linter locally
  • Tested in staging

@jayjayjpg jayjayjpg merged commit 7e26e11 into master Feb 1, 2022
@jayjayjpg jayjayjpg deleted the jj/lint branch February 1, 2022 18:38
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