Added test for previous commit
This commit is contained in:
@@ -187,6 +187,9 @@ class FunctionArchiveDeployer extends JarLauncher {
|
||||
|
||||
private boolean isBootApplicationWithMain() {
|
||||
try {
|
||||
if (this.getArchive().getManifest() == null) {
|
||||
return false;
|
||||
}
|
||||
return StringUtils.hasText(this.getArchive().getManifest().getMainAttributes().getValue("Start-Class"));
|
||||
}
|
||||
catch (Exception e) {
|
||||
|
||||
@@ -46,6 +46,7 @@ import org.springframework.core.env.ConfigurableEnvironment;
|
||||
* and {@link SmartLifecycle#stop()} operations.
|
||||
* <br>
|
||||
* @author Oleg Zhurakousky
|
||||
* @author Eric Bottard
|
||||
*
|
||||
* @since 3.0
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user