ContainerSolutions / ContainerSolutions/mesos-starter

Use of command in docker mode could Autoconfigure the wrong bean

Open
#38 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
47
Forks
10
PR merge metrics
No merged PRs in 30d

Description

For both executor and docker mode, mesos.command is used. But the Executor TaskInfoFactory is triggered on mesos.command:
https://github.com/ContainerSolutions/mesos-starter/blob/master/spring-boot-starter-mesos/src/main/java/com/containersolutions/mesos/config/autoconfigure/MesosSchedulerConfiguration.java#L121

Hence, it's only by luck that the Docker TaskInfoFactory is instantiated, because the Executor version is valid because of the use of a mesos.command.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.