Skip to content

Commit

Permalink
Fix warning "calling yaml.load() without Loader=... is deprecated"
Browse files Browse the repository at this point in the history
in gen-yml-from-env.py
  • Loading branch information
lhotari committed Feb 26, 2024
1 parent d608bfc commit 5624616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/pulsar/scripts/gen-yml-from-env.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
conf_files = sys.argv[1:]

for conf_filename in conf_files:
conf = yaml.load(open(conf_filename))
conf = yaml.load(open(conf_filename), Loader=yaml.FullLoader)

# update the config
modified = False
Expand Down

0 comments on commit 5624616

Please sign in to comment.