Skip to content

Commit c38cc32

Browse files
committed
Fix diag test
1 parent e5a3639 commit c38cc32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/io/ipfs/api/APITest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ public void bootstrapTest() throws IOException {
701701
@Test
702702
public void diagTest() throws IOException {
703703
Map config = ipfs.config.show();
704-
Object mdns = ipfs.config.get("Discovery.MDNS.Interval");
704+
Object api = ipfs.config.get("Addresses.API");
705705
Object val = ipfs.config.get("Datastore.GCPeriod");
706706
Map setResult = ipfs.config.set("Datastore.GCPeriod", val);
707707
ipfs.config.replace(new NamedStreamable.ByteArrayWrapper(JSONParser.toString(config).getBytes()));

0 commit comments

Comments
 (0)