diff --git a/control_plane/src/compute.rs b/control_plane/src/compute.rs index 095f007fc3..0d36b21427 100644 --- a/control_plane/src/compute.rs +++ b/control_plane/src/compute.rs @@ -168,7 +168,8 @@ impl PostgresNode { lazy_static! { static ref CONF_PORT_RE: Regex = Regex::new(r"(?m)^\s*port\s*=\s*(\d+)\s*$").unwrap(); - static ref CONF_TIMELINE_RE: Regex = Regex::new(r"(?m)^\s*zenith_timeline\s*=\s*'(\w+)'\s*$").unwrap(); + static ref CONF_TIMELINE_RE: Regex = + Regex::new(r"(?m)^\s*zenith_timeline\s*=\s*'(\w+)'\s*$").unwrap(); } // parse data directory name diff --git a/zenith/src/main.rs b/zenith/src/main.rs index d96b23b28f..2895d7203e 100644 --- a/zenith/src/main.rs +++ b/zenith/src/main.rs @@ -1,7 +1,7 @@ -use std::{collections::HashMap, fs}; use std::path::{Path, PathBuf}; use std::process::exit; use std::str::FromStr; +use std::{collections::HashMap, fs}; use anyhow::Result; use anyhow::{anyhow, bail}; @@ -184,7 +184,13 @@ fn handle_pg(pg_match: &ArgMatches, env: &local_env::LocalEnv) -> Result<()> { println!("NODE\tADDRESS\t\tSTATUS\tBRANCH"); for (node_name, node) in cplane.nodes.iter() { - println!("{}\t{}\t{}\t{}", node_name, node.address, node.status(), tl2branch[&node.timelineid]); + println!( + "{}\t{}\t{}\t{}", + node_name, + node.address, + node.status(), + tl2branch[&node.timelineid] + ); } } ("start", Some(sub_m)) => {