Skip to content

Switch to yaml.safe_load() in tracker/dmlc_tracker/kubernetes.py - #449

Merged
tqchen merged 1 commit into
dmlc:masterfrom
haojin2:switch_safe_load
Aug 10, 2018
Merged

tqchen merged 1 commit into
dmlc:masterfrom
haojin2:switch_safe_load

Conversation

@haojin2

@haojin2 haojin2 commented Aug 10, 2018

Copy link
Copy Markdown
Contributor

yaml.load() is not safe: https://pyyaml.org/wiki/PyYAMLDocumentation. Switching to yaml.safe_load() for the loading of kubernetes config file.
@hcho3 @piiswrong @tqchen

@tqchen
tqchen merged commit 4f0564e into dmlc:master Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants