summaryrefslogtreecommitdiff
path: root/internal/config/config.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-11-04 15:22:23 +0200
committerPaul Buetow <paul@buetow.org>2023-11-04 15:22:23 +0200
commit09ecd479863cf5db5b91776b64324660e23eeb97 (patch)
tree69a5f05c3f6861ecaf98c7945391963e35e58757 /internal/config/config.go
parent4dbf8b4854db75b549f0417ce9654ee286c1adb6 (diff)
remove redundant is_winner WinnerFile
Diffstat (limited to 'internal/config/config.go')
-rw-r--r--internal/config/config.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index 09ccb7e..3968268 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -27,7 +27,6 @@ type Config struct {
StateDir string
LogToSyslog bool `json:"LogToSyslog,omitempty"`
ScoreFile string
- WinnerFile string
Address string
Nodes map[string]Node
LoopIntervalS int64 `json:"LoopIntervalS,omitempty"`
@@ -122,9 +121,6 @@ func (conf Config) setDefaults() (Config, error) {
if conf.ScoreFile == "" {
conf.ScoreFile = "scores"
}
- if conf.WinnerFile == "" {
- conf.WinnerFile = "is_winner"
- }
if conf.LoopIntervalS == 0 {
conf.LoopIntervalS = 10
}