Companion for #6620 (#1386)

* Companiong for #6620

https://github.com/paritytech/substrate/pull/6620

* 'Update substrate'

Co-authored-by: parity-processbot <>
This commit is contained in:
Bastian Köcher
2020-07-09 17:24:00 +02:00
committed by GitHub
parent 1c5f9b09ba
commit 54bace2b5d
2 changed files with 139 additions and 139 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ use log::info;
use service::{IdentifyVariant, self};
#[cfg(feature = "service-rewr")]
use service_new::{IdentifyVariant, self as service};
use sc_cli::{CliConfiguration, SubstrateCli, Result, RuntimeVersion, Role};
use sc_cli::{SubstrateCli, Result, RuntimeVersion, Role};
use crate::cli::{Cli, Subcommand};
fn get_exec_name() -> Option<String> {
@@ -198,7 +198,7 @@ pub fn run() -> Result<()> {
}
},
Some(Subcommand::ValidationWorker(cmd)) => {
sc_cli::init_logger("", cli.run.base.log_rotation_opt()?)?;
sc_cli::init_logger("", None)?;
if cfg!(feature = "browser") {
Err(sc_cli::Error::Input("Cannot run validation worker in browser".into()))