diff --git a/src/core/bootstrap/mod.rs b/src/core/bootstrap/mod.rs index ac8e05b2..aef90970 100644 --- a/src/core/bootstrap/mod.rs +++ b/src/core/bootstrap/mod.rs @@ -460,7 +460,7 @@ impl BootstrapManager { tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; let status = SafeCommand::new("pg_isready") .and_then(|c| { - c.args(&["-h", "localhost", "-p", "5432", "-d", "postgres"]) + c.args(&["-h", "localhost", "-p", "5432"]) }) .ok() .and_then(|cmd| cmd.execute().ok()) @@ -506,7 +506,7 @@ impl BootstrapManager { tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; let status = SafeCommand::new("pg_isready") .and_then(|c| { - c.args(&["-h", "localhost", "-p", "5432", "-d", "postgres"]) + c.args(&["-h", "localhost", "-p", "5432"]) }) .ok() .and_then(|cmd| cmd.execute().ok())