diff --git a/monitor/monitor.go b/monitor/monitor.go index 6d4f070..8b8cbd4 100644 --- a/monitor/monitor.go +++ b/monitor/monitor.go @@ -418,13 +418,11 @@ func downloadWorker(ctx context.Context, config *Config, ctlog *loglist.Log, cli case batch = <-batchesIn: } - if batch.end > batch.begin { - entries, err := getEntriesFull(ctx, client, batch.begin, batch.end) - if err != nil { - return err - } - batch.entries = entries + entries, err := getEntriesFull(ctx, client, batch.begin, batch.end) + if err != nil { + return err } + batch.entries = entries select { case <-ctx.Done():