Chore: Enable exhaustive linter (#29458)
* Chore: Enable exhaustive linter Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user