Skip to content

Commit

Permalink
refactor!: remove unused Config struct
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
  • Loading branch information
sagikazarmark committed May 11, 2021
1 parent ec0b904 commit 5a59088
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions config.go
Expand Up @@ -15,15 +15,3 @@ type checkConfig struct {
// initiallyPassing indicates when true, the check will be treated as passing before the first run; defaults to false
initiallyPassing bool
}

// Config defines a health Check and it's scheduling timing requirements.
type Config struct {
// Check is the health Check to be scheduled for execution.
Check Check
// ExecutionPeriod is the period between successive executions.
ExecutionPeriod time.Duration
// InitialDelay is the time to delay first execution; defaults to zero.
InitialDelay time.Duration
// InitiallyPassing indicates when true, the check will be treated as passing before the first run; defaults to false
InitiallyPassing bool
}

0 comments on commit 5a59088

Please sign in to comment.