diff options
| author | tv <tv@krebsco.de> | 2026-10-25 20:11:08 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-25 20:11:08 +0100 |
| commit | debd4355eb9d9d1bd2f69e37e2d5a9a18f3585d4 (patch) | |
| tree | d268b638ab180c49c4d6bc8ff6d6df3f02b41588 | |
| parent | 0fdfe7d6f35b1914f901c710b23f88c64773fa90 (diff) | |
build_genesis -> remake_genesis (fixup)
| -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; |
