Skip to content

Commit

Permalink
Remove obsolete tag warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tstromberg committed Jun 19, 2020
1 parent 1139247 commit 2e66392
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/site/page.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ func (h *Handlers) collectionPage(ctx context.Context, id string, refresh bool)
dataAge = result.LatestInput
warning := ""

if result.NewerThan.IsZero() {
warning = fmt.Sprintf("Service started %s ago, and is still downloading data. Tagging may be incomplete. Use Shift-Reload to force a refresh.", humanDuration(time.Since(h.startTime)))
}

if time.Since(result.LatestInput) > h.warnAge {
warning = fmt.Sprintf("Service started %s ago, and is still downloading data. Data may be up to %s old, and incompletely tagged. Use Shift-Reload to force a refresh.", humanDuration(time.Since(h.startTime)), humanDuration(time.Since(result.LatestInput)))
}
Expand Down

0 comments on commit 2e66392

Please sign in to comment.