You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Josef Cacek (JIRA)" <ji...@apache.org> on 2015/08/16 15:16:45 UTC

[jira] [Commented] (JCLOUDS-990) DockerTemplateOptions wrongly copies commands

    [ https://issues.apache.org/jira/browse/JCLOUDS-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14698658#comment-14698658 ] 

Josef Cacek commented on JCLOUDS-990:
-------------------------------------

PR#199 with the fix (and test) sent: https://github.com/jclouds/jclouds-labs/pull/199

> DockerTemplateOptions wrongly copies commands
> ---------------------------------------------
>
>                 Key: JCLOUDS-990
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-990
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-labs
>    Affects Versions: 1.9.1
>            Reporter: Josef Cacek
>
> Method {{org.jclouds.docker.compute.options.DockerTemplateOptions.copyTo(TemplateOptions)}} has a wrong condition for  copying {{commands}} field:
> {code}
> if (commands.isEmpty()) {
> 	eTo.commands(commands);
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)