Skip to content

Commit

Permalink
Fix tags
Browse files Browse the repository at this point in the history
  • Loading branch information
irees committed Dec 23, 2023
1 parent e559e92 commit 592a3fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rt/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,11 +416,11 @@ func (fi *Validator) validatePosition(pos *pb.Position) (errs []error) {
}

type VehiclePositionStats struct {
RouteID string
AgencyID string
RouteID string `json:"route_id"`
AgencyID string `json:"agency_id"`
TripScheduledIDs []string `json:"trip_scheduled_ids"`
TripScheduledCount int
TripMatchCount int
TripScheduledCount int `json:"trip_scheduled_count"`
TripMatchCount int `json:"trip_match_count"`
}

func (fi *Validator) VehiclePositionStats(now time.Time, msg *pb.FeedMessage) ([]VehiclePositionStats, error) {
Expand Down

0 comments on commit 592a3fd

Please sign in to comment.