fix
All checks were successful
Build and Push Docker Images / build (src/LiquidCode.Tester.Gateway/Dockerfile, git.nullptr.top/liquidcode/liquidcode-tester-gateway, gateway) (push) Successful in 57s
Build and Push Docker Images / build (src/LiquidCode.Tester.Worker/Dockerfile, git.nullptr.top/liquidcode/liquidcode-tester-worker, worker) (push) Successful in 5m34s

This commit is contained in:
prixod
2025-12-01 00:23:36 +04:00
parent 55af8257a7
commit 6d010ea9ad

View File

@@ -78,10 +78,10 @@ public class WorkerClientService : IWorkerClientService
{
var workerUrl = language.ToLowerInvariant() switch
{
"c++" => _configuration["Workers:Cpp"],
"c++" or "cpp" => _configuration["Workers:Cpp"],
"java" => _configuration["Workers:Java"],
"kotlin" => _configuration["Workers:Kotlin"],
"c#" => _configuration["Workers:CSharp"],
"c#" or "csharp" => _configuration["Workers:CSharp"],
"python" => _configuration["Workers:Python"],
_ => throw new NotSupportedException($"Language {language} is not supported")
};