Skip to content

Commit

Permalink
revert: 'validate kinesis extends to appends'
Browse files Browse the repository at this point in the history
  • Loading branch information
RanbirAulakh committed Sep 25, 2024
1 parent e641287 commit 15ae5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aws/osml/utils/integ_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def validate_kinesis_features_match(
for record in records:
# Look for records that pertain to the target image_id
if record["PartitionKey"] == job_id:
kinesis_features.append(geojson.loads(record["Data"])["features"])
kinesis_features.extend(geojson.loads(record["Data"])["features"])
else:
logging.warning(f"Found partition key: {record['PartitionKey']}")
logging.warning(f"Looking for partition key: {job_id}")
Expand Down

0 comments on commit 15ae5a1

Please sign in to comment.