mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-11 16:32:01 -06:00
fixed bug on checksum check
This commit is contained in:
parent
17a206f613
commit
a96fa4e486
@ -85,7 +85,7 @@ public class ResolverForNBIOCache implements ContentResolver {
|
||||
logger.info(() -> "Downloading remote file " + uri + " to cache at " + cachePath);
|
||||
Files.copy(urlContent.getInputStream(), cachePath);
|
||||
logger.info(() -> "Downloaded remote file to cache at " + cachePath);
|
||||
if(checksum != null && verifyChecksum(cachePath, checksum)) {
|
||||
if(checksum == null || verifyChecksum(cachePath, checksum)) {
|
||||
success = true;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user