You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Chen He (JIRA)" <ji...@apache.org> on 2015/07/15 01:06:04 UTC
[jira] [Comment Edited] (SLIDER-915) ExecutionCommand cannot load
commandPath
[ https://issues.apache.org/jira/browse/SLIDER-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14627247#comment-14627247 ]
Chen He edited comment on SLIDER-915 at 7/14/15 11:06 PM:
----------------------------------------------------------
I will come up with a patch.
was (Author: airbots):
I will come up a patch.
> 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
>
> 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)