diff --git a/maap_utils/utils.py b/maap_utils/utils.py index 8a889553bd3bf3eb99cb3b5c83ecd3ccc196406f..e314331a8d869908987b441b029702a412c59a03 100644 --- a/maap_utils/utils.py +++ b/maap_utils/utils.py @@ -50,14 +50,14 @@ def validate_redo_tag(config: RunConfig) -> None: s3 = boto3.client("s3") prefix = ( f"{config.username}/dps_output/{config.algo_id}/" - f"{config.algo_version}/{config.redo_tag}/" + f"{config.algo_version}/{config.redo_of}/" ) result = s3.list_objects_v2( Bucket="maap-ops-workspace", Prefix=prefix, MaxKeys=1 ) if not result.get("KeyCount"): raise ValueError( - "No output directory found for " f"redo tag '{config.redo_tag}'" + "No output directory found for " f"redo tag '{config.redo_of}'" )