Move upgrading log above node id upgrade
@@ -42,13 +42,13 @@ impl Action for UpgradeAction {
let store_factory = splinter::store::create_store_factory(database_uri).map_err(|err| {
CliError::ActionError(format!("failed to initialized store factory: {}", err))
})?;
+ info!("Upgrading splinterd state");
#[cfg(feature = "node-id-upgrade")]
{
let db_store = store_factory.get_node_id_store();
node_id::migrate_node_id_to_db(state_dir.clone(), db_store)?;
}
- info!("Upgrading splinterd state");
info!(
"Source yaml state directory: {}",
state_dir.to_string_lossy()
