mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixing typos (#70487)
This commit is contained in:
committed by
GitHub
parent
1441c90178
commit
95b1f3c875
@@ -306,13 +306,13 @@ func parseNumber(value interface{}) *float64 {
|
||||
|
||||
number, ok := value.(json.Number)
|
||||
if !ok {
|
||||
// in the current inmplementation, errors become nils
|
||||
// in the current implementation, errors become nils
|
||||
return nil
|
||||
}
|
||||
|
||||
fvalue, err := number.Float64()
|
||||
if err != nil {
|
||||
// in the current inmplementation, errors become nils
|
||||
// in the current implementation, errors become nils
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ func (e *StandardDeviationSampler) updateAggregations(val float64) {
|
||||
e.m2 += delta * delta2
|
||||
}
|
||||
|
||||
// standardDeviation calculates the amount of varation in the data
|
||||
// standardDeviation calculates the amount of variation in the data
|
||||
// https://en.wikipedia.org/wiki/Standard_deviation
|
||||
func (e *StandardDeviationSampler) standardDeviation() float64 {
|
||||
if e.count < 2 {
|
||||
|
||||
Reference in New Issue
Block a user