Merge pull request #410 from rajavpr/UnknownHostException

Fix for UnknownHostException
This commit is contained in:
Grahame Grieve 2021-02-08 06:56:23 +11:00 committed by GitHub
commit 5b8aec8a06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -559,8 +559,10 @@ public class FilesystemPackageCacheManager extends BasePackageCacheManager imple
public String getPackageId(String canonicalUrl) throws IOException {
String retVal = findCanonicalInLocalCache(canonicalUrl);
retVal = super.getPackageId(canonicalUrl);
if(retVal == null) {
retVal = super.getPackageId(canonicalUrl);
}
if (retVal == null) {
retVal = getPackageIdFromBuildList(canonicalUrl);
}
@ -930,4 +932,4 @@ public class FilesystemPackageCacheManager extends BasePackageCacheManager imple
return false;
}
}
}