Skip to content
This repository was archived by the owner on Jun 29, 2018. It is now read-only.

Commit 71c1f1e

Browse files
committed
Rename spring.boot.admin.notify to spring.boot.admin.notify.mail
1 parent b040645 commit 71c1f1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/config/MailNotifierConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public class MailNotifierConfiguration {
3838

3939
@Bean
4040
@ConditionalOnMissingBean
41-
@ConditionalOnProperty(prefix = "spring.boot.admin.notify", name = "enabled", matchIfMissing = true)
42-
@ConfigurationProperties("spring.boot.admin.notify")
41+
@ConditionalOnProperty(prefix = "spring.boot.admin.notify.mail", name = "enabled", matchIfMissing = true)
42+
@ConfigurationProperties("spring.boot.admin.notify.mail")
4343
public MailNotifier mailNotifier() {
4444
return new MailNotifier(mailSender);
4545
}

0 commit comments

Comments
 (0)