GcAllUsers: Add extra log line in online case
Change-Id: Ic7c25f4edf391750f353391fef7769f285075ba3
This commit is contained in:
parent
61cc899a37
commit
81a7157a52
|
@ -63,6 +63,10 @@ public class GcAllUsers {
|
|||
logOneLine.accept("Skipping GC of " + allUsers + "; not a local disk repo");
|
||||
return;
|
||||
}
|
||||
if (progressWriter == null) {
|
||||
// Mimic log line from GarbageCollection.
|
||||
logOneLine.accept("collecting garbage for \"" + allUsers + "\":\n");
|
||||
}
|
||||
GarbageCollectionResult result =
|
||||
gcFactory.create().run(ImmutableList.of(allUsers), progressWriter);
|
||||
if (!result.hasErrors()) {
|
||||
|
|
Loading…
Reference in New Issue