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] [Created] (SLIDER-915) ExecutionCommand cannot load
commandPath
Chen He created SLIDER-915:
------------------------------
Summary: 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)