Skip to content

Commit

Permalink
fix safe_load_all deprecation (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
libracoder authored Oct 24, 2023
1 parent 6c9bfb6 commit 67bc18e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def process_file(filename):

# Load the existing YAML file with multiple documents
with open(filename, 'r') as file:
existing_yaml_data_list = list(yaml.safe_load_all(file))
existing_yaml_data_list = list(yaml.load_all(file))

# Find the 'kind: xLambda or XLambdaDockerImage' document in the list of documents
xlambda_documents = [doc for doc in existing_yaml_data_list if doc.get('kind') in ['XLambda', 'XLambdaDockerImage']]
Expand Down

0 comments on commit 67bc18e

Please sign in to comment.