Skip to content

Commit

Permalink
Update schema/ingestion_config/v1.0.0/ingestion_config_models_extende…
Browse files Browse the repository at this point in the history
…d.py

Co-authored-by: Trent Smith <[email protected]>
  • Loading branch information
daniel-ji and Bento007 authored Aug 22, 2024
1 parent c1b0dba commit dc6acc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def validate_id_name_object(

logger.debug("Valid ID, now checking if name '%s' matches ID: %s", name, id)

# if the retrieved names is empty, we can assume the name is valid
# if retrieved_names is empty, we can assume the name is valid
valid_name = retrieved_names == [] or any(name == retrieved_name for retrieved_name in retrieved_names)

if not valid_name:
Expand Down

0 comments on commit dc6acc5

Please sign in to comment.