Merge pull request #46416 from dincamihai/fix-cp.push-empty-file

Fix cp.push empty file
This commit is contained in:
Nicole Thomas 2018-03-26 13:52:47 -04:00 committed by GitHub
commit 2efef52a3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1451,7 +1451,7 @@ class AESFuncs(object):
if load['loc']:
fp_.seek(load['loc'])
fp_.write(load['data'])
fp_.write(salt.utils.stringutils.to_bytes(load['data']))
return True
def _pillar(self, load):