Fix wrong variable in log message in BatchUpdate

Change-Id: Ib7ca67d3f0eea1aec09bfca0854cfa5bd1929ca9
(cherry picked from commit c8b58edfd1)
This commit is contained in:
Zhen Chen
2016-10-17 14:30:54 -07:00
committed by David Pursehouse
parent 736dcb0621
commit 78eca63d86

View File

@@ -657,11 +657,9 @@ public class BatchUpdate implements AutoCloseable {
op.updateRepo(ctx); op.updateRepo(ctx);
} }
if (!repoOnlyOps.isEmpty()) { logDebug("Executing updateRepo on {} RepoOnlyOps", repoOnlyOps.size());
logDebug("Executing updateRepo on {} RepoOnlyOps", ops.size()); for (RepoOnlyOp op : repoOnlyOps) {
for (RepoOnlyOp op : repoOnlyOps) { op.updateRepo(ctx);
op.updateRepo(ctx);
}
} }
if (inserter != null) { if (inserter != null) {