mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Add missing containers configuration reference to code snippet
See gh-35031
This commit is contained in:
committed by
Stephane Nicoll
parent
7cf28680c9
commit
aea5b77d1e
+1
-1
@@ -21,7 +21,7 @@ import org.springframework.boot.SpringApplication;
|
||||
public class TestMyApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.from(MyApplication::main).run(args);
|
||||
SpringApplication.from(MyApplication::main).with(MyContainersConfiguration.class).run(args);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user