Skip to content

Commit

Permalink
list check
Browse files Browse the repository at this point in the history
  • Loading branch information
paigerube14 committed Jan 6, 2025
1 parent 4cd9e05 commit 1220941
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ def process_test(
last_version_run = runs
metadata['ocpVersion'] = str(float(metadata['ocpVersion'][:4]) - .01)
runs = match.get_uuid_by_metadata(metadata, fingerprint_index, lookback_date=start_timestamp)

# get latest uuid as the "uuid" to compare against
last_uuid_run = last_version_run[-1]
runs.append(last_uuid_run)
if len(last_version_run) > 0:
# get latest uuid as the "uuid" to compare against
last_uuid_run = last_version_run[-1]
runs.append(last_uuid_run)

if not runs:
logger.info("No UUID present for given metadata")
Expand Down

0 comments on commit 1220941

Please sign in to comment.