Skip to content

Commit f6f07c4

Browse files
committed
extended the exemplary configuration with the service URL
1 parent 44b261c commit f6f07c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def about():
6363
# initialize the registation object, to be send to the Spring Boot Admin server
6464
myRegistration = Registration(
6565
name=configuration.servicename,
66+
serviceUrl="%s:%d" % (configuration.servicehost, configuration.serviceport),
6667
healthUrl="%s:%d%s" % (configuration.servicehost, configuration.serviceport, healthendpoint),
6768
metadata=metadata
6869
)

0 commit comments

Comments
 (0)