Skip to content

Commit 078956d

Browse files
authored
Merge pull request #267 from agupta49/yamlIssue
YAML loader deprecates issue fix
2 parents c2d5185 + 5f13428 commit 078956d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

f5_cccl/service/validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
def read_yaml(target):
3838
"""Open and read a yaml file."""
3939
with open(target, 'r') as yaml_file:
40-
yaml_data = yaml.load(yaml_file)
40+
yaml_data = yaml.load(yaml_file, Loader=yaml.FullLoader)
4141
return yaml_data
4242

4343

0 commit comments

Comments
 (0)