renames intervalSeconds to updateIntervalSeconds

This commit is contained in:
bergquist
2018-06-04 08:13:20 +02:00
parent 333af6fd9b
commit 75ee1e9208
7 changed files with 53 additions and 50 deletions
@@ -66,7 +66,7 @@ func (fr *fileReader) ReadAndListen(ctx context.Context) error {
fr.log.Error("failed to search for dashboards", "error", err)
}
ticker := time.NewTicker(time.Duration(int64(time.Second) * fr.Cfg.IntervalSeconds))
ticker := time.NewTicker(time.Duration(int64(time.Second) * fr.Cfg.UpdateIntervalSeconds))
running := false