From 8300816c9ea9678eff1730e74a66d1f35d3c8bf9 Mon Sep 17 00:00:00 2001 From: Ian Stanton Date: Wed, 25 Sep 2024 18:10:52 -0400 Subject: [PATCH] fmt Signed-off-by: Ian Stanton --- conductor/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/conductor/src/lib.rs b/conductor/src/lib.rs index f3fe95947..be5f6f3b2 100644 --- a/conductor/src/lib.rs +++ b/conductor/src/lib.rs @@ -41,8 +41,7 @@ pub async fn generate_spec( if let Some(restore) = &mut spec.restore { if let Some(backups_path) = &mut restore.backups_path { - if !backups_path.starts_with(&format!("s3://{}", backups_bucket)) - { + if !backups_path.starts_with(&format!("s3://{}", backups_bucket)) { let path_suffix = backups_path.trim_start_matches("s3://"); *backups_path = format!("s3://{}/{}", backups_bucket, path_suffix); }