Skip to content

Commit

Permalink
Merge pull request #3 from vjsingla/master
Browse files Browse the repository at this point in the history
Quoted output in double quotes
  • Loading branch information
paunin authored Feb 17, 2017
2 parents 0302fe9 + 8498bbb commit a50bf69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kube_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def __get_object_file(doc):
"""
obj_file = tempfile.NamedTemporaryFile(delete=False)
with open(obj_file.name, 'w') as outfile:
outfile.write(yaml.dump(doc))
outfile.write(yaml.dump(doc, default_style='"'))
outfile.close()
return obj_file.name

Expand Down

0 comments on commit a50bf69

Please sign in to comment.