diff --git a/internal/server/singleprocess/state/box.go b/internal/server/singleprocess/state/box.go index fe23fe20c..c2bf847c3 100644 --- a/internal/server/singleprocess/state/box.go +++ b/internal/server/singleprocess/state/box.go @@ -198,6 +198,10 @@ func (s *State) boxFind( continue } } + // Set first match + if match == nil { + match = boxIndexEntry + } v, _ := version.NewVersion(boxIndexEntry.Version) if v.GreaterThan(highestVersion) { highestVersion = v