[#385] status + replication: warning if replication succeeeded without any filesystem being replicated

refs #385
refs #384
This commit is contained in:
Christian Schwarz
2020-09-12 12:16:30 +02:00
parent 293c89d392
commit 0a2dea05a9
2 changed files with 9 additions and 1 deletions
+4 -1
View File
@@ -230,7 +230,10 @@ func Do(ctx context.Context, planner Planner) (ReportFunc, WaitFunc) {
errRep := cur.errorReport()
if rep.State == report.AttemptDone {
log.Debug("attempt completed successfully")
if len(rep.Filesystems) == 0 {
log.Warn("no filesystems were considered for replication")
}
log.Debug("attempt completed")
break
}