Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHE-1037: fix pulling of docker images #1106

Merged
merged 2 commits into from
Apr 21, 2016
Merged

CHE-1037: fix pulling of docker images #1106

merged 2 commits into from
Apr 21, 2016

Conversation

garagatyi
Copy link

@skabashnyuk @evoevodin Please review

Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
@@ -64,7 +64,7 @@ private void pullImage(String image, final LineConsumer creationLogsOutput)
DockerImageIdentifier imageIdentifier = DockerImageIdentifierParser.parse(image);
final ProgressLineFormatterImpl progressLineFormatter = new ProgressLineFormatterImpl();
dockerConnector.pull(imageIdentifier.getRepository(),
imageIdentifier.getTag(),
imageIdentifier.getTag() == null ? "latest" : imageIdentifier.getTag(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

firstNonNull(imageIdentifier.getTag(), "latest) looks better for me.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@voievodin
Copy link
Contributor

ok

@garagatyi garagatyi merged commit 8fc806c into master Apr 21, 2016
@garagatyi garagatyi deleted the CHE-1037 branch April 21, 2016 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants