2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 03:19:48 +00:00

Allow autosuffix to change passed filename

The resultant file may deviate and thus the chown
must have the updated name.
This commit is contained in:
Jarrod Johnson 2019-10-29 16:06:51 -04:00
parent 12bd473c0d
commit a175fd7345

View File

@ -50,6 +50,9 @@ def execupdate(handler, filename, updateobj, type, owner, node):
bank=updateobj.bank)
else:
completion = handler(filename, progress=updateobj.handle_progress)
if type == 'ffdc' and completion:
filename = completion
completion = None
if completion is None:
completion = 'complete'
if owner: