Skip to content

Commit d3112e1

Browse files
committed
Sets default Spring profile in SpringBootApplicationProperties
1 parent 3c00f25 commit d3112e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/sbm-support-boot/src/main/java/org/springframework/sbm/boot/properties/api/SpringBootApplicationProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
@Setter
3131
public class SpringBootApplicationProperties extends PropertiesSource {
3232

33-
private SpringProfile springProfile;
33+
private SpringProfile springProfile = new SpringProfile("default");
3434

3535
public SpringBootApplicationProperties(Path absoluteProjectDir, File sourceFile, RewriteExecutionContext executionContext) {
3636
super(absoluteProjectDir, executionContext, sourceFile);

0 commit comments

Comments
 (0)