Merge pull request #410 from rajavpr/UnknownHostException
Fix for UnknownHostException
This commit is contained in:
commit
5b8aec8a06
|
@ -559,8 +559,10 @@ public class FilesystemPackageCacheManager extends BasePackageCacheManager imple
|
||||||
public String getPackageId(String canonicalUrl) throws IOException {
|
public String getPackageId(String canonicalUrl) throws IOException {
|
||||||
String retVal = findCanonicalInLocalCache(canonicalUrl);
|
String retVal = findCanonicalInLocalCache(canonicalUrl);
|
||||||
|
|
||||||
retVal = super.getPackageId(canonicalUrl);
|
if(retVal == null) {
|
||||||
|
retVal = super.getPackageId(canonicalUrl);
|
||||||
|
}
|
||||||
|
|
||||||
if (retVal == null) {
|
if (retVal == null) {
|
||||||
retVal = getPackageIdFromBuildList(canonicalUrl);
|
retVal = getPackageIdFromBuildList(canonicalUrl);
|
||||||
}
|
}
|
||||||
|
@ -930,4 +932,4 @@ public class FilesystemPackageCacheManager extends BasePackageCacheManager imple
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue