Renault: don't validate connected driver (#14805)
Some checks failed
Some checks failed
This commit is contained in:
parent
fb65261e9f
commit
53ef1946f0
1 changed files with 4 additions and 3 deletions
|
|
@ -36,9 +36,10 @@ func (v *Vehicle) Available() error {
|
|||
return errors.New("vehicle is not active")
|
||||
}
|
||||
|
||||
if v.ConnectedDriver.Role == "" {
|
||||
return errors.New("vehicle is not connected to driver")
|
||||
}
|
||||
// DEPRECATED
|
||||
// if v.ConnectedDriver.Role == "" {
|
||||
// return errors.New("vehicle is not connected to driver")
|
||||
// }
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue