More changes
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 23s

This commit is contained in:
2025-06-04 09:33:37 -04:00
parent 1060248508
commit 1f5dee8052

View File

@ -690,7 +690,7 @@ func (v *Vehicle) GetVehicleCondition() {
if strings.HasPrefix(typeOfS.Field(i).Name, "Window") && strings.HasSuffix(typeOfS.Field(i).Name, "Status") {
v.parseWindow("Window", "Status", typeOfS.Field(i).Name, val.Field(i).Interface())
}
if strings.HasPrefix(typeOfS.Field(i).Name, "TirePressure") {
if strings.HasPrefix(typeOfS.Field(i).Name, "TirePressure") && !strings.HasSuffix(typeOfS.Field(i).Name, "Unit") {
v.parseTire("TirePressure", "", typeOfS.Field(i).Name, val.Field(i).Interface())
}
}