diff --git a/bus/src/main/resources/application.yml b/bus/src/main/resources/application.yml index 4476b5c..8de599a 100644 --- a/bus/src/main/resources/application.yml +++ b/bus/src/main/resources/application.yml @@ -2,7 +2,6 @@ spring: application: name: bus --- -spring: - profiles: other +spring.config.activate.on-profile: other server: port: 8081 \ No newline at end of file diff --git a/configserver-bootstrap/src/main/resources/bootstrap.yml b/configserver-bootstrap/src/main/resources/bootstrap.yml index 1e3478c..7e85aac 100644 --- a/configserver-bootstrap/src/main/resources/bootstrap.yml +++ b/configserver-bootstrap/src/main/resources/bootstrap.yml @@ -11,7 +11,9 @@ spring: --- spring: - profiles: native + config: + activate: + on-profile: native cloud: config: server: