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: Remove no sentry deprecation warning #1740

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

erezrokah
Copy link
Member

@erezrokah erezrokah commented Jun 17, 2024

Summary

If you try to disable telemetry with plugins using the latest SDK you get this warning:

Flag --no-sentry has been deprecated, no-sentry option is deprecated and unused

The reason is that the CLI still sends this flag (ends up here https://github.com/cloudquery/plugin-pb-go/blob/aeb0d17fd2577caacbfdadfecc89fa4a1357cca6/managedplugin/plugin.go#L448), so new plugins print a warning.

We can't remove the sending of the flag, since then older plugins will start sending sentry errors 🙃

I suggest we remove the log warning for now, and give users a bit of time to upgrade plugins, then remove the flag altogether

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 ✅

@github-actions github-actions bot added fix and removed fix labels Jun 17, 2024
@erezrokah erezrokah merged commit 1fb06bc into cloudquery:main Jun 17, 2024
21 checks passed
kodiakhq bot pushed a commit that referenced this pull request Jun 17, 2024
🤖 I have created a release *beep* *boop*
---


## [4.45.2](v4.45.1...v4.45.2) (2024-06-17)


### Bug Fixes

* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.20.1 ([#1739](#1739)) ([cdb1b6b](cdb1b6b))
* **deps:** Update module google.golang.org/protobuf to v1.34.2 ([#1737](#1737)) ([ced9333](ced9333))
* Remove no sentry deprecation warning ([#1740](#1740)) ([1fb06bc](1fb06bc))

---
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants