test(pkg/cli): Implementation of test to stabilize the code

This commit is contained in:
2020-01-11 13:03:58 +01:00
parent b595cf1ac8
commit 40857249c4
3 changed files with 123 additions and 5 deletions

View File

@ -84,6 +84,7 @@ func Start(cnf *config.Configuration, cleanCacheInterval time.Duration, compress
return
}
for _, measmeasuredValue := range measuredValues {
debugChannel <- fmt.Sprintf("%v: %v: %v", sensor.GetID(), measmeasuredValue.ValueType, measmeasuredValue.Value)
measuredValueChannel <- measmeasuredValue
}
}