diff --git a/internal/api/handlers/requestadapters/schedulers.go b/internal/api/handlers/requestadapters/schedulers.go index 6be15d01..299ca344 100644 --- a/internal/api/handlers/requestadapters/schedulers.go +++ b/internal/api/handlers/requestadapters/schedulers.go @@ -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 {