Commit bcc721cf by Dennis Schulte

Use spring.application.name as identifier of the application

parent 714349f9
spring.application.name=spring-boot-admin
\ No newline at end of file
......@@ -46,7 +46,7 @@ public class SpringBootAdminRegistratorTask implements Runnable {
Assert.notNull(env.getProperty("spring.boot.admin.url"),
"The URL of the spring-boot-admin application is mandatory");
Assert.notNull(env.getProperty("server.port"), "The server port of the application is mandatory");
Assert.notNull(env.getProperty("info.id"), "The id of the application is mandatory");
Assert.notNull(env.getProperty("spring.application.name"), "The id of the application is mandatory");
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment