Skip to content

Conversation

@ryandens
Copy link
Member

@ryandens ryandens commented Jun 29, 2021

Description

Fixes a bug where the ReportingConfigImpl could not be instantiated by the service loader API

Testing

Please describe the tests that you ran to verify your changes. Please summarize what did you test and what needs to be tested e.g. deployed and tested helm chart locally.

Checklist:

  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

Documentation

Make sure that you have documented corresponding changes in this repository or hypertrace docs repo if required.

@ryandens ryandens merged commit a2785b1 into main Jun 29, 2021
@ryandens ryandens deleted the report-config-service-loader-fix branch June 29, 2021 03:52
final Iterator<ReportingConfig> iterator = reportingConfigs.iterator();
assertTrue(iterator.hasNext());
final ReportingConfig reportingConfig = iterator.next();
assertNotNull(reportingConfig);
Copy link
Member

Choose a reason for hiding this comment

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

This could check the config type.

@ryandens ryandens requested a review from davexroth June 29, 2021 20:16
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.

4 participants