From a1acdc1b901f55c842afdb496a9102527051998d Mon Sep 17 00:00:00 2001 From: Andre Kurait Date: Mon, 7 Oct 2024 16:20:53 -0500 Subject: [PATCH] Remove s3 pre-delete Signed-off-by: Andre Kurait --- DocumentsFromSnapshotMigration/docker/entrypoint.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/DocumentsFromSnapshotMigration/docker/entrypoint.sh b/DocumentsFromSnapshotMigration/docker/entrypoint.sh index 94ab05cfb..407277328 100755 --- a/DocumentsFromSnapshotMigration/docker/entrypoint.sh +++ b/DocumentsFromSnapshotMigration/docker/entrypoint.sh @@ -49,8 +49,6 @@ S3_LOCAL_DIR=$(echo "$RFS_COMMAND" | sed -n 's/.*--s3-local-dir\s\+\("[^"]\+"\|[ LUCENE_DIR=$(echo "$RFS_COMMAND" | sed -n 's/.*--lucene-dir\s\+\("[^"]\+"\|[^ ]\+\).*/\1/p' | tr -d '"') if [[ -n "$S3_LOCAL_DIR" ]]; then echo "Will delete S3 local directory between runs: $S3_LOCAL_DIR" - rm -rf "$S3_LOCAL_DIR" - echo "Directory $S3_LOCAL_DIR has been deleted." else echo "--s3-local-dir argument not found in RFS_COMMAND. Will not delete S3 local directory between runs." fi