Skip to content

fix: Print version in error after @, not before#325

Merged
kodiakhq[bot] merged 1 commit intomainfrom
fix/align_version_error
May 24, 2024
Merged

fix: Print version in error after @, not before#325
kodiakhq[bot] merged 1 commit intomainfrom
fix/align_version_error

Conversation

@erezrokah
Copy link
Copy Markdown
Member

@erezrokah erezrokah commented May 24, 2024

Summary

Follow up to #323, @bbernays let me know if I missed anything with this

Use the following steps to ensure your PR is ready to be reviewed

  • Read the contribution guidelines 🧑‍🎓
  • Run go fmt ./... to format your code 🖊
  • Lint your changes via golangci-lint run 🚨 (install golangci-lint here)
  • Update or add tests 🧪
  • Ensure the status checks below are successful ✅

@erezrokah erezrokah requested review from a team, bbernays and candiduslynx and removed request for a team and candiduslynx May 24, 2024 11:57
@github-actions github-actions bot added fix and removed fix labels May 24, 2024
@erezrokah erezrokah force-pushed the fix/align_version_error branch from 2ee249b to 3664740 Compare May 24, 2024 11:58
return false, fmt.Errorf("failed to get %s plugin (name: %s/%s@%s) information: %s", cloudquery_api.PluginKind(ops.PluginKind), ops.PluginTeam, ops.PluginName, ops.PluginVersion, p.Status())
}
if p.JSON200 == nil {
return false, fmt.Errorf("failed to get %s plugin (name: %s/%s@%s) information: response body is empty", cloudquery_api.PluginKind(ops.PluginKind), ops.PluginVersion, ops.PluginTeam, ops.PluginName)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Here the version was printed instead of the team

@erezrokah erezrokah added the automerge Add to automerge PRs once requirements are met label May 24, 2024
@kodiakhq kodiakhq bot merged commit 9c40790 into main May 24, 2024
@kodiakhq kodiakhq bot deleted the fix/align_version_error branch May 24, 2024 14:50
kodiakhq bot pushed a commit that referenced this pull request May 24, 2024
🤖 I have created a release *beep* *boop*
---


## [1.19.17](v1.19.16...v1.19.17) (2024-05-24)


### Bug Fixes

* Print version in error after `@`, not before ([#325](#325)) ([9c40790](9c40790))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Add to automerge PRs once requirements are met fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants