Chore: Enable exhaustive linter (#29458)

* Chore: Enable exhaustive linter

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Arve Knudsen
2020-12-01 09:53:27 +01:00
committed by GitHub
parent cbb2c0a5d8
commit f55818ca70
16 changed files with 37 additions and 16 deletions
+3
View File
@@ -107,6 +107,9 @@ func perFloat(val Value, floatF func(x float64) float64) (Value, error) {
}
}
newVal = newSeries
default:
// TODO: Should we deal with TypeString, TypeVariantSet?
}
return newVal, nil
}
+2
View File
@@ -46,6 +46,8 @@ func SeriesFromFrame(frame *data.Frame) (s Series, err error) {
s.ValueIsNullabe = true
foundValue = true
s.ValueIdx = i
default:
// Handle default case
}
}
if !foundTime {