Use shutdownHandlers parameter in constructor
This commit is contained in:
@@ -41,7 +41,7 @@ class DockerComposeListener implements ApplicationListener<ApplicationPreparedEv
|
||||
}
|
||||
|
||||
DockerComposeListener(SpringApplicationShutdownHandlers shutdownHandlers) {
|
||||
this.shutdownHandlers = SpringApplication.getShutdownHandlers();
|
||||
this.shutdownHandlers = shutdownHandlers;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user