summaryrefslogtreecommitdiff
path: root/internal/runchecks.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-11-22 09:32:52 +0200
committerPaul Buetow <paul@buetow.org>2025-11-22 09:32:52 +0200
commit5fa8012c6b085c8d4244d3b4f9c99c1937fb65a2 (patch)
tree6d166352229d903aeb52ca06c66cdc26f54147b9 /internal/runchecks.go
parent1cde39e35c0329b4783f188b050b78b520e43470 (diff)
more on federation
Diffstat (limited to 'internal/runchecks.go')
-rw-r--r--internal/runchecks.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/runchecks.go b/internal/runchecks.go
index fb7a9c4..e3e802f 100644
--- a/internal/runchecks.go
+++ b/internal/runchecks.go
@@ -43,11 +43,11 @@ func runChecks(ctx context.Context, state state, conf config) state {
log.Printf("Skipping %s: interval not yet reached (%v (%v) <= %v)", check.name,
int(age.Seconds()), age, check.RunInterval)
outputCh <- checkResult{
- name: check.name,
- output: lastCheckState.output,
- epoch: lastCheckState.Epoch,
- status: lastCheckState.Status,
- federated: lastCheckState.federated,
+ name: check.name,
+ output: lastCheckState.output,
+ epoch: lastCheckState.Epoch,
+ status: lastCheckState.Status,
+ federatedFrom: lastCheckState.federatedFrom,
}
inputWg.Done()
continue
@@ -110,4 +110,4 @@ func runCheck(ctx context.Context, limitCh chan struct{}, deps dependency,
<-limitCh
return checkResult
-} \ No newline at end of file
+}