From 9f4b4a5e876d4977c50997d4e9189f8b9dea4aee Mon Sep 17 00:00:00 2001 From: gonzalezzfelipe Date: Sat, 7 Dec 2024 13:54:00 -0300 Subject: [PATCH] fix: Correctly claim snapshot --- crates/operator/src/controller.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/operator/src/controller.rs b/crates/operator/src/controller.rs index 5d63317..e74051f 100644 --- a/crates/operator/src/controller.rs +++ b/crates/operator/src/controller.rs @@ -391,7 +391,7 @@ impl K8sContext { self.s3_client .delete_object() .bucket(self.config.bucket.clone()) - .key(format!("{}/{}", self.config.bucket, snapshot_key)) + .key(snapshot_key) .send() .await?;