chore: typos
This commit is contained in:
parent
25fa0d6f62
commit
a8ed34d286
1 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ func NewConfigurableFromConfig(other map[string]interface{}) (api.Vehicle, error
|
|||
status = v.status
|
||||
}
|
||||
|
||||
// decorate vehicle with Range
|
||||
// decorate vehicle with range
|
||||
var rng func() (int64, error)
|
||||
if cc.Range != nil {
|
||||
rangeG, err := provider.NewIntGetterFromConfig(*cc.Range)
|
||||
|
|
@ -65,7 +65,7 @@ func NewConfigurableFromConfig(other map[string]interface{}) (api.Vehicle, error
|
|||
rng = rangeG
|
||||
}
|
||||
|
||||
// decorate vehicle with Range
|
||||
// decorate vehicle with odometer
|
||||
var odo func() (float64, error)
|
||||
if cc.Odometer != nil {
|
||||
odoG, err := provider.NewFloatGetterFromConfig(*cc.Odometer)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue