Skip to content

Commit

Permalink
fix: adding default match allocation configuration when not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
reinaldooli committed Dec 3, 2024
1 parent d792a78 commit 7b1f7db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/handlers/requestadapters/schedulers.go
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ func fromApiMatchAllocation(matchAllocation *api.MatchAllocation) *allocation.Ma
}
}

return nil
return &allocation.MatchAllocation{MaxMatches: 1}
}

func getPortRange(portRange *port.PortRange) *api.PortRange {
Expand Down

0 comments on commit 7b1f7db

Please sign in to comment.