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 {
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue