Skip to content

Polish gh-40023 #41208

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

Closed
wants to merge 1 commit into from
Closed

Polish gh-40023 #41208

wants to merge 1 commit into from

Conversation

izeye
Copy link
Contributor

@izeye izeye commented Jun 22, 2024

This PR polishes the changes made in gh-40023 a bit.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 22, 2024
@@ -69,14 +67,14 @@
before = { CompositeMeterRegistryAutoConfiguration.class, SimpleMetricsExportAutoConfiguration.class },
after = { MetricsAutoConfiguration.class, PrometheusMetricsExportAutoConfiguration.class })
@ConditionalOnBean(Clock.class)
@ConditionalOnClass(PrometheusMeterRegistry.class)
@ConditionalOnClass(io.micrometer.prometheus.PrometheusMeterRegistry.class)
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the reason for that change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mhalbritter I just wanted to align with the fully qualified return type of the simpleclientPrometheusMeterRegistry() below and remove the import statement for the PrometheusMeterRegistry that has been deprecated.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah so you switched to fully qualified types to get rid of the deprecated imports.

@mhalbritter
Copy link
Contributor

Hey, thanks for the PR, i've added a comment.

@mhalbritter mhalbritter added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 25, 2024
@mhalbritter mhalbritter added this to the 3.3.x milestone Jun 25, 2024
@mhalbritter mhalbritter self-assigned this Jun 28, 2024
@mhalbritter mhalbritter mentioned this pull request Jun 28, 2024
mhalbritter pushed a commit that referenced this pull request Jun 28, 2024
@mhalbritter mhalbritter modified the milestones: 3.3.x, 3.3.2 Jun 28, 2024
@mhalbritter
Copy link
Contributor

Thanks!

@izeye izeye deleted the polish-gh-40023 branch June 28, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants