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: ignore schema URL conflicts #137

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Conversation

codeboten
Copy link
Contributor

Which problem is this PR solving?

The current behaviour of returning an error is causing more problems than addressing problems

Short description of the changes

With this change, the error will be logged and ignored if it's a schema URL error.

How to verify that this has the expected result

  1. Manually tested by running the example code w/ an import of a newer SDK than what is used in the current otel-config-go package
  2. Updated unit test to include additional case

The current behaviour of returning an error is causing more problems than
addressing problems. With this change, the error will be logged and ignored
if it's a schema URL error.

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@codeboten codeboten requested a review from a team as a code owner July 24, 2024 19:20
Copy link
Contributor

@MikeGoldsmith MikeGoldsmith left a comment

Choose a reason for hiding this comment

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

Looks good - thanks @codeboten

@codeboten codeboten merged commit d710c5a into main Jul 25, 2024
9 checks passed
@codeboten codeboten deleted the codeboten/ignore-schema-err branch July 25, 2024 17:40
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