summaryrefslogtreecommitdiff
path: root/internal/check.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-05-17 01:03:38 +0300
committerPaul Buetow <paul@buetow.org>2023-05-17 01:03:38 +0300
commite40606ecc44770f551ed4823d89d63602bc8b27f (patch)
tree2d6f50fd71a5f78fc6122fd2ade6c7051143db83 /internal/check.go
parent7d8272f3c94bc69ab93e059304d65942e7065055 (diff)
add retry and retry interval check config options
Diffstat (limited to 'internal/check.go')
-rw-r--r--internal/check.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/internal/check.go b/internal/check.go
index a9efd29..47dc6f9 100644
--- a/internal/check.go
+++ b/internal/check.go
@@ -8,9 +8,11 @@ import (
)
type check struct {
- Plugin string
- Args []string
- DependsOn []string `json:"DependsOn,omitempty"`
+ Plugin string
+ Args []string
+ DependsOn []string `json:"DependsOn,omitempty"`
+ Retries int `json:"Retries,omitempty"`
+ RetryInterval int `json:"RetryInterval,omitempty"`
}
type namedCheck struct {