We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ab4f091 + 287314c commit 8c0e7c9Copy full SHA for 8c0e7c9
1 file changed
contrib/aws/gen-json.py
@@ -95,7 +95,8 @@
95
dict({'name': 'etcd.service', 'drop-ins': [{'name': '90-after-etcd-volume.conf', 'content': ETCD_DROPIN}]})
96
]
97
98
-data = yaml.load(file(os.path.join(CURR_DIR, '..', 'coreos', 'user-data'), 'r'))
+with open(os.path.join(CURR_DIR, '..', 'coreos', 'user-data'), 'r') as f:
99
+ data = yaml.safe_load(f)
100
101
# coreos-cloudinit will start the units in order, so we want these to be processed before etcd/fleet
102
# are started
0 commit comments