Remove redundant RunAt field from CAAData
All checks were successful
continuous-integration/drone/push Build is passing

The observation timestamp is already stored by the core; there is no
need to duplicate it inside the payload.
This commit is contained in:
nemunaire 2026-05-16 13:04:51 +08:00
commit 59af24f695
2 changed files with 0 additions and 3 deletions

View file

@ -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
}

View file

@ -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 {