Test v2 hashes with qbt

This commit is contained in:
Širhoe Biazhkovič
2021-11-27 16:38:27 +03:00
committed by Lawrence, Rendall
parent e7c5263dd7
commit d438ad58fe
7 changed files with 50 additions and 29 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ func (cfg Config) Validate() Config {
})
}
if cfg.PrometheusReportingInterval <= 0 {
if cfg.PrometheusReportingInterval < 0 {
validcfg.PrometheusReportingInterval = defaultPrometheusReportingInterval
log.Warn("falling back to default configuration", log.Fields{
"name": Name + ".PrometheusReportingInterval",