Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-admin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-boot-admin
Commits
87048059
Commit
87048059
authored
Oct 06, 2014
by
Dennis Schulte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create Admintask only when spring.boot.admin.url is set
parent
bcc721cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
.gitignore
spring-boot-starter-admin-client/.gitignore
+1
-0
SpringBootAdminClientAutoConfiguration.java
.../admin/config/SpringBootAdminClientAutoConfiguration.java
+2
-1
No files found.
spring-boot-starter-admin-client/.gitignore
View file @
87048059
...
...
@@ -2,3 +2,4 @@
/.settings
/.classpath
/.project
/bin
spring-boot-starter-admin-client/src/main/java/de/codecentric/boot/admin/config/SpringBootAdminClientAutoConfiguration.java
View file @
87048059
...
...
@@ -36,7 +36,8 @@ public class SpringBootAdminClientAutoConfiguration {
* Task that registers the application at the spring-boot-admin application.
*/
@Bean
public
SpringBootAdminRegistratorTask
registrator
()
{
@ConditionalOnProperty
(
"spring.boot.admin.url"
)
public
Runnable
registrator
()
{
return
new
SpringBootAdminRegistratorTask
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment