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 02:21:05 UTC

[jira] [Updated] (SLIDER-915) ExecutionCommand cannot load commandPath

     [ 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)