We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31471d1 + 8a224d3 commit 4f41206Copy full SHA for 4f41206
postgresql_metrics/common.py
@@ -113,6 +113,6 @@ def find_and_parse_config(config_path):
113
current_path = os.path.join(config_dir, config_filename)
114
if os.path.isfile(current_path):
115
with open(current_path, 'r') as f:
116
- read_config_dict = yaml.load(f)
+ read_config_dict = yaml.safe_load(f)
117
config_dict = merge_configs(read_config_dict, config_dict)
118
return config_dict
0 commit comments