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)

Reply via email to