summaryrefslogtreecommitdiff
path: root/internal/runchecks.go
diff options
context:
space:
mode:
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
+}