mirror of
https://github.com/xcat2/confluent.git
synced 2025-07-24 21:31:13 +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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user