chore: extra post-review comment and a panic message grammatical fix
Co-authored-by: Joonas Koivunen <joonas@equilibrium.co> Signed-off-by: ljedrz <ljedrz@gmail.com>
This commit is contained in:
parent
11dba5a44e
commit
77237a5559
@ -116,6 +116,7 @@ impl IpfsOptions {
|
||||
keypair: Keypair::generate_ed25519(),
|
||||
mdns: Default::default(),
|
||||
bootstrap: Default::default(),
|
||||
// default to lan kad for go-ipfs use in tests
|
||||
kad_protocol: Some("/ipfs/lan/kad/1.0.0".to_owned()),
|
||||
}
|
||||
}
|
||||
|
@ -129,7 +129,7 @@ fn start_go_node() -> GoIpfsNode {
|
||||
// GO_IPFS_PATH should point to the location of the go-ipfs binary
|
||||
let go_ipfs_path = env::vars()
|
||||
.find(|(key, _val)| key == "GO_IPFS_PATH")
|
||||
.expect("the GO_IPFS_PATH environment variable not found")
|
||||
.expect("the GO_IPFS_PATH environment variable was not found")
|
||||
.1;
|
||||
|
||||
let mut tmp_dir = env::temp_dir();
|
||||
|
Loading…
Reference in New Issue
Block a user