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.
invalid multiaddr
1 parent 8b1eadc commit 333844fCopy full SHA for 333844f
src/config/mod.rs
@@ -89,8 +89,9 @@ impl DriaComputeNodeConfig {
89
}
90
log::info!("Models: {}", model_config);
91
92
- let p2p_listen_addr =
93
- env::var("DKN_P2P_LISTEN_ADDR").unwrap_or(DEFAULT_P2P_LISTEN_ADDR.to_string());
+ let p2p_listen_addr = env::var("DKN_P2P_LISTEN_ADDR")
+ .map(|addr| addr.trim_matches('"').to_string())
94
+ .unwrap_or(DEFAULT_P2P_LISTEN_ADDR.to_string());
95
96
Self {
97
admin_public_key,
0 commit comments