Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • B blaflight
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Phil Burton
  • blaflight
  • Merge requests
  • !1

Don't fail if there's more than 1 result

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Joe Robinson requested to merge multiple_flight_results into latest-flight Jul 22, 2021
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 1

Flight search fails if there's more than one result, which often happens if a flight is recurring - eg a daily flight may return today's and yesterday's flight

Just changed the check to fail if there are 0 results, seems to handle it fine if there's more than 1 as it always returns the first result anyway.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: multiple_flight_results