Skip to content

Commit

Permalink
pd: 👄 log testnet directory reset
Browse files Browse the repository at this point in the history
we log when there is nothing to remove, but let's also log what happens
when this is run.
  • Loading branch information
cratelyn committed Mar 10, 2024
1 parent a598c12 commit 0fcd0e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bin/pd/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ async fn main() -> anyhow::Result<()> {
} => {
let testnet_dir = get_testnet_dir(testnet_dir);
if testnet_dir.exists() {
tracing::info!("Removing testnet directory: {}", testnet_dir.display());
std::fs::remove_dir_all(testnet_dir)?;
} else {
tracing::info!(
Expand Down

0 comments on commit 0fcd0e0

Please sign in to comment.