Skip to content

Commit c4069fc

Browse files
committed
Merge pull request #38 from hmrm/master
Remove special-case for one ":" from PullCommand
2 parents f6ef1dd + c176263 commit c4069fc

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/main/java/com/github/dockerjava/client/command/PullImageCmd.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,6 @@ public String toString() {
7171
protected ClientResponse impl() {
7272
Preconditions.checkNotNull(repository, "Repository was not specified");
7373

74-
if (StringUtils.countMatches(repository, ":") == 1) {
75-
String repositoryTag[] = StringUtils.split(repository, ':');
76-
repository = repositoryTag[0];
77-
tag = repositoryTag[1];
78-
79-
}
80-
8174
MultivaluedMap<String, String> params = new MultivaluedMapImpl();
8275
params.add("tag", tag);
8376
params.add("fromImage", repository);

0 commit comments

Comments
 (0)