checker: remove CollectedAt from DANEData

The observation timestamp is already managed by the core; there is no
need for the checker to record it separately.
This commit is contained in:
nemunaire 2026-05-16 13:06:47 +08:00
commit e75c97b52b
3 changed files with 4 additions and 11 deletions

View file

@ -8,7 +8,6 @@ import (
"sort"
"strconv"
"strings"
"time"
sdk "git.happydns.org/checker-sdk-go/checker"
tlscontract "git.happydns.org/checker-tls/contract"
@ -192,9 +191,8 @@ func (p *daneProvider) Collect(ctx context.Context, opts sdk.CheckerOptions) (an
}
data := &DANEData{
Targets: targets,
Invalid: invalid,
CollectedAt: time.Now().UTC(),
Targets: targets,
Invalid: invalid,
}
if v, ok := opts[OptionDNSSECValidated]; ok {
if b, ok := v.(bool); ok {