Add missing containers configuration reference to code snippet
See gh-35031
This commit is contained in:
committed by
Stephane Nicoll
parent
7cf28680c9
commit
aea5b77d1e
@@ -21,7 +21,7 @@ import org.springframework.boot.SpringApplication;
|
|||||||
public class TestMyApplication {
|
public class TestMyApplication {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
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