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:
parent
16aa0253a3
commit
e75c97b52b
3 changed files with 4 additions and 11 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue