Use shutdownHandlers parameter in constructor
This commit is contained in:
parent
176cc20c36
commit
8abebd75fb
|
|
@ -41,7 +41,7 @@ class DockerComposeListener implements ApplicationListener<ApplicationPreparedEv
|
|||
}
|
||||
|
||||
DockerComposeListener(SpringApplicationShutdownHandlers shutdownHandlers) {
|
||||
this.shutdownHandlers = SpringApplication.getShutdownHandlers();
|
||||
this.shutdownHandlers = shutdownHandlers;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue