mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +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
e9ba49a4aa
commit
f2dd501de9
@ -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