[
https://issues.apache.org/jira/browse/SLIDER-915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chen He updated SLIDER-915:
---------------------------
Attachment: SLIDER-915.WIP.patch
WIP patch, will check where is the unit test file and add it if exists.
> ExecutionCommand cannot load commandPath
> ----------------------------------------
>
> Key: SLIDER-915
> URL: https://issues.apache.org/jira/browse/SLIDER-915
> Project: Slider
> Issue Type: Bug
> Components: agent
> Affects Versions: Slider 0.80
> Reporter: Chen He
> Attachments: SLIDER-915.WIP.patch
>
>
> In ExecutionCommand, we should use metaContainer.getCommandPath() to load
> path instead of using metaContainer.getAdditionalParam():
> for (DockerContainer metaContainer : component.getDockerContainers()) {
> DockerContainer container = new DockerContainer();
> container.setImage(metaContainer.getImage());
> container.setName(metaContainer.getName());
> container.setOptions(metaContainer.getOptions());
> container.setAdditionalParam(metaContainer.getAdditionalParam());
> container.setCommandPath(metaContainer.getAdditionalParam());
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)