There was an error while loading. Please reload this page.
2 parents 0964808 + 47628ff commit f67d2a6Copy full SHA for f67d2a6
1 file changed
src/main/java/com/github/dockerjava/core/NameParser.java
@@ -100,8 +100,7 @@ public static void validateRepoName(String name) {
100
101
public static HostnameReposName resolveRepositoryName(String reposName) {
102
if (reposName.contains("://")) {
103
- // It cannot contain a scheme!
104
- throw new InvalidRepositoryNameException();
+ throw new InvalidRepositoryNameException("RepositoryName shouldn't contain a scheme");
105
}
106
107
String[] nameParts = reposName.split("/", 2);
0 commit comments