Merge "py3: Fix swift-recon" into stable/train

This commit is contained in:
Zuul 2019-10-15 22:56:40 +00:00 committed by Gerrit Code Review
commit 22f7c7b153
1 changed files with 2 additions and 0 deletions

View File

@ -459,6 +459,8 @@ class SwiftRecon(object):
stats[stat_key].append(repl_stats.get(stat_key))
last = response.get('replication_last',
response.get('object_replication_last', 0))
if last is None:
continue
if last < least_recent_time:
least_recent_time = last
least_recent_url = url