Commit 6b0a4a57 authored by Adrian Pillinger's avatar Adrian Pillinger Committed by Phillip Webb

Fixing typo in the documentation that incorrectly named a property.

The spring property should have been spring.profiles.active instead of
spring.active.profiles.
parent 13b6301c
...@@ -147,12 +147,12 @@ only available in certain environments. Any `@Component` that is marked with `@ ...@@ -147,12 +147,12 @@ only available in certain environments. Any `@Component` that is marked with `@
will only be loaded in the profile specified by the latter annotation. will only be loaded in the profile specified by the latter annotation.
A `SpringApplication` takes this a stage further, in that you can use a A `SpringApplication` takes this a stage further, in that you can use a
`spring.active.profiles` `Environment` property to specify which profiles are active. `spring.profiles.active` `Environment` property to specify which profiles are active.
You can specify the property in any of the usual ways, for example you could include You can specify the property in any of the usual ways, for example you could include
it in your `application.properties`: it in your `application.properties`:
``` ```
spring.active.profiles=dev,hsqldb spring.profiles.active=dev,hsqldb
``` ```
or specify on the command line using the switch `--spring.profiles.active=dev,hsqldb`. or specify on the command line using the switch `--spring.profiles.active=dev,hsqldb`.
......
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