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 1d94064 commit c747192Copy full SHA for c747192
tox_node/src/node_config.rs
@@ -273,7 +273,7 @@ fn parse_config(config_path: &str) -> NodeConfig {
273
.set_default("lan-discovery", "False").expect("Can't set default value for `lan-discovery`")
274
.set_default("threads", "1").expect("Can't set default value for `threads`")
275
.set_default("tcp-connections-limit", "512").expect("Can't set default value for `tcp-connections-limit`")
276
- .add_source(CfgFile::from_str(config_path, CfgFileFormat::Yaml));
+ .add_source(CfgFile::new(config_path, CfgFileFormat::Yaml));
277
278
let config_file = match config_builder.build() {
279
Ok(cfg) => cfg,
0 commit comments