Skip to content

Commit be3419d

Browse files
authored
Revert "Hotfix health lookback (#309)" (#312)
This reverts commit a0ab3f3.
1 parent 31d164c commit be3419d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data-collection/deploy/module-health-events.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ Resources:
380380
logger.info(f'Uploaded {count} summary records to s3://{BUCKET_NAME}/{key}')
381381
# clear any previous runs for the same day
382382
bucket = boto3.resource('s3').Bucket(BUCKET_NAME)
383-
bucket.objects.filter(Prefix=ingestion_time.strftime(f"{PREFIX}/{PREFIX}-detail-data/payer_id={account_id}/year=%Y/month=%m/day=%d"))
383+
bucket.objects.filter(Prefix=ingestion_time.strftime(f"{PREFIX}/{PREFIX}-detail-data/payer_id={account_id}/year=%Y/month=%m/day=%d")).delete()
384384
sf = boto3.client('stepfunctions')
385385
sf_input = {
386386
"bucket": BUCKET_NAME,

0 commit comments

Comments
 (0)