We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d12c13 commit 76be216Copy full SHA for 76be216
contrib/storage-ipfs/src/main/java/org/apache/drill/exec/store/ipfs/IPFSCompat.java
@@ -135,9 +135,9 @@ public class DHT {
135
* @return List of Multiaddresses of the peer
136
*/
137
public List<String> findpeerListTimeout(Multihash id, int timeout, ExecutorService executor) {
138
- AtomicReference<List<String>> ret = new AtomicReference<>();
+ AtomicReference<List<String>> ret = new AtomicReference<>(new ArrayList<>());
139
timeLimitedExec(
140
- "name/resolve?arg=" + id,
+ "dht/findpeer?arg=" + id,
141
timeout,
142
res -> {
143
Map peer = (Map) res;
0 commit comments