Commit 12526b8
authored
Set spring.profiles.active instead of spring.profiles.default (#926)
Even though logs show that spring.profiles.default *is* used as fallback, and @Profile(Profiles.PRODUCTION) classes *are* enabled, apparently the default profile is not picked up everywhere.
Most likely cause is that some third party code is relying on Environment.getActiveProfiles(), which returns empty when the default profile is used.
To fix this we set spring.profiles.active explicitly, instead of spring.profiles.default.1 parent 252a976 commit 12526b8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments