mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
Fix trimmed files comming from leadership
This commit is contained in:
parent
b8a4fa6d81
commit
50354896b6
@ -301,6 +301,7 @@ def get_keys_from_leader(keys, overwrite_local=False):
|
||||
# Write out the file and move on to the next item
|
||||
with open(k, 'w+') as fp:
|
||||
fp.write(contents)
|
||||
fp.write('\n')
|
||||
|
||||
return True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user