From 09ecd479863cf5db5b91776b64324660e23eeb97 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 4 Nov 2023 15:22:23 +0200 Subject: remove redundant is_winner WinnerFile --- internal/config/config.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'internal/config/config.go') 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 } -- cgit v1.2.3