Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
♻️ Update yaml load
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Aug 25, 2024
1 parent 5274276 commit 31d73d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docker_auto_labels/docker_auto_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
def get_content(file_name):
abs_file_name = os.path.abspath(file_name)
with open(abs_file_name) as docker_file:
return yaml.load(docker_file)
return yaml.safe_load(docker_file)


def get_existing_labels(nodes):
Expand Down

0 comments on commit 31d73d5

Please sign in to comment.