Clarified file configuration naming
This commit is contained in:
parent
c28c848b95
commit
617e025be4
3 changed files with 6 additions and 7 deletions
|
|
@ -24,8 +24,7 @@ func nodataLoop() {
|
|||
var datapoints []Datapoint
|
||||
var err error
|
||||
|
||||
// TODO - should be configurable
|
||||
ticker := time.NewTicker(time.Second * time.Duration(smonConf.NodataInterval))
|
||||
ticker := time.NewTicker(time.Second * time.Duration(fileConf.NodataInterval))
|
||||
for {
|
||||
<-ticker.C
|
||||
datapoints, err = nodataDatapoints()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue