From 59af24f695dc63ae26968fe420f5104afdfda49f Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Sat, 16 May 2026 13:04:51 +0800 Subject: [PATCH] Remove redundant RunAt field from CAAData The observation timestamp is already stored by the core; there is no need to duplicate it inside the payload. --- checker/collect.go | 2 -- checker/types.go | 1 - 2 files changed, 3 deletions(-) diff --git a/checker/collect.go b/checker/collect.go index b378de2..ad0d927 100644 --- a/checker/collect.go +++ b/checker/collect.go @@ -4,7 +4,6 @@ import ( "context" "encoding/json" "fmt" - "time" sdk "git.happydns.org/checker-sdk-go/checker" ) @@ -64,7 +63,6 @@ func (p *caaProvider) Collect(ctx context.Context, opts sdk.CheckerOptions) (any return &CAAData{ Domain: domain, Records: records, - RunAt: time.Now().UTC().Format(time.RFC3339), }, nil } diff --git a/checker/types.go b/checker/types.go index b42c67b..a266ff3 100644 --- a/checker/types.go +++ b/checker/types.go @@ -40,7 +40,6 @@ const ( type CAAData struct { Domain string `json:"domain,omitempty"` Records []CAARecord `json:"records,omitempty"` - RunAt string `json:"run_at,omitempty"` } type CAARecord struct {