mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-27 03:49:57 +00:00
Do not proceed to try to upload if file doesn't exist
After relaying the error, it went ahead and attempted the update, contrary to any reasonable expectation.
This commit is contained in:
parent
48913218a6
commit
f835057ae4
@ -37,6 +37,7 @@ def execupdate(handler, filename, updateobj, type, owner, node):
|
||||
filename, socket.gethostname())
|
||||
updateobj.handle_progress({'phase': 'error', 'progress': 0.0,
|
||||
'detail': errstr})
|
||||
return
|
||||
if type == 'ffdc' and os.path.isdir(filename):
|
||||
filename += '/' + node + '.svcdata'
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user