Skip to content

Commit b1de5bf

Browse files
Proper check for registering Go Matchmaker Override
Go runtime is not registering Matchmaker Override functionality because of incorrect check
1 parent b5efe8c commit b1de5bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/runtime.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2458,7 +2458,7 @@ func NewRuntime(ctx context.Context, logger, startupLogger *zap.Logger, db *sql.
24582458

24592459
var allMatchmakerOverrideFunction RuntimeMatchmakerOverrideFunction
24602460
switch {
2461-
case goMatchmakerMatchedFn != nil:
2461+
case goMatchmakerCustomMatchingFn != nil:
24622462
allMatchmakerOverrideFunction = goMatchmakerCustomMatchingFn
24632463
startupLogger.Info("Registered Go runtime Matchmaker Override function invocation")
24642464
}

0 commit comments

Comments
 (0)