We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c2940b commit e41d0d9Copy full SHA for e41d0d9
update_s3_objects.py
@@ -264,12 +264,16 @@ def reconcile_s3(
264
removed_count += results["removed"]
265
error_count += results["errors"]
266
267
+ completed = created_count + removed_count + error_count
268
+ if total_actions > 0:
269
+ progress_pct = completed / total_actions * 100
270
+ else:
271
+ progress_pct = 0
272
+
273
logger.info(
274
f"Completed chunk {chunk_index + 1}/{len(action_chunks)}, "
- f"total progress: {created_count + removed_count + error_count}/"
- f"{total_actions} ({(
- created_count + removed_count + error_count
- ) / total_actions * 100:.1f}%)"
275
+ f"total progress: {completed}/{total_actions} "
276
+ f"({progress_pct:.1f}%)"
277
)
278
279
except Exception as e:
0 commit comments