summaryrefslogtreecommitdiffstats
path: root/modules/doctor/fix16961.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/doctor/fix16961.go')
-rw-r--r--modules/doctor/fix16961.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/doctor/fix16961.go b/modules/doctor/fix16961.go
index 92c77ba80f..92c4418505 100644
--- a/modules/doctor/fix16961.go
+++ b/modules/doctor/fix16961.go
@@ -302,7 +302,11 @@ func fixBrokenRepoUnits16961(ctx context.Context, logger log.Logger, autofix boo
}
if !autofix {
- logger.Warn("Found %d broken repo_units", count)
+ if count == 0 {
+ logger.Info("Found no broken repo_units")
+ } else {
+ logger.Warn("Found %d broken repo_units", count)
+ }
return nil
}
logger.Info("Fixed %d broken repo_units", count)