diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 2 | ||||
| -rw-r--r-- | src/remake/kind.rs | 2 | ||||
| -rw-r--r-- | src/remake/mod.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 8e1a07c..eb252c7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -143,7 +143,7 @@ async fn main() -> Result<()> { }; let mut initial_doc = initial_doc; if let Some(spec) = &args.remake { - remake::build_genesis(spec, &files, &mut initial_doc) + remake::remake_genesis(spec, &files, &mut initial_doc) .with_context(|| format!("Making the genesis document (--remake {spec})"))?; info!(remake = %spec, "Made the genesis document"); } diff --git a/src/remake/kind.rs b/src/remake/kind.rs index 2b24422..42bdd88 100644 --- a/src/remake/kind.rs +++ b/src/remake/kind.rs @@ -101,7 +101,7 @@ pub(crate) fn by_name(name: &str) -> Option<&'static dyn RemakeKind> { /// and protocol data); /// * `replace:PATH`: a JSON document, the store root; /// * `compact`: nothing (an empty document compacts to itself). -pub(crate) fn build_genesis( +pub(crate) fn remake_genesis( spec: &str, files: &Files, target: &mut AutoCommit, diff --git a/src/remake/mod.rs b/src/remake/mod.rs index ca11cd4..9085475 100644 --- a/src/remake/mod.rs +++ b/src/remake/mod.rs @@ -32,7 +32,7 @@ pub(crate) mod snapshot; mod switch; mod vote; -pub(crate) use kind::build_genesis; +pub(crate) use kind::remake_genesis; pub(crate) use local::RemakeState; pub(crate) use switch::run_worker; |
