consync: Minor change to ignore 404 is there is some other error from another node
This commit is contained in:
parent
f9fb4c739c
commit
54d6b2d4c9
@ -371,7 +371,12 @@ class ContainerSync(Daemon):
|
||||
headers = these_headers
|
||||
body = this_body
|
||||
except ClientException, err:
|
||||
exc = err
|
||||
# If any errors are not 404, make sure we report the
|
||||
# non-404 one. We don't want to mistankely assume the
|
||||
# object no longer exists just because one says so and
|
||||
# the others errored for some other reason.
|
||||
if not exc or exc.http_status == 404:
|
||||
exc = err
|
||||
if timestamp < looking_for_timestamp:
|
||||
if exc:
|
||||
raise exc
|
||||
|
Loading…
Reference in New Issue
Block a user