Skip to content

Commit 50f1c5e

Browse files
author
Dan Richards
authored
feat(rocketscience): use match ID for allocation (#17)
Updates the Rocket Science allocator module to use the Matchmaker match ID as the allocation ID, to improve traceability.
1 parent ab17a38 commit 50f1c5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/RocketScienceAllocator/Project/RocketScienceAllocator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public async Task<AllocateResponse> Allocate(IExecutionContext context, Allocate
6161

6262
var content = new StringContent(JsonConvert.SerializeObject(new ProcessAllocationRequest()
6363
{
64-
AllocationId = Guid.NewGuid().ToString(),
64+
AllocationId = request.MatchId,
6565
BuildConfigurationId = BuildConfigId,
6666
RegionId = region,
6767
Payload = JsonConvert.SerializeObject(request.MatchmakingResults)

0 commit comments

Comments
 (0)