Merge remote-tracking branch 'origin/master' into roman
All checks were successful
Build and Push Docker Images / build (src/LiquidCode.Tester.Gateway/Dockerfile, git.nullptr.top/liquidcode/liquidcode-tester-gateway-roman, gateway) (push) Successful in 55s
Build and Push Docker Images / build (src/LiquidCode.Tester.Worker/Dockerfile, git.nullptr.top/liquidcode/liquidcode-tester-worker-roman, worker) (push) Successful in 4m47s
All checks were successful
Build and Push Docker Images / build (src/LiquidCode.Tester.Gateway/Dockerfile, git.nullptr.top/liquidcode/liquidcode-tester-gateway-roman, gateway) (push) Successful in 55s
Build and Push Docker Images / build (src/LiquidCode.Tester.Worker/Dockerfile, git.nullptr.top/liquidcode/liquidcode-tester-worker-roman, worker) (push) Successful in 4m47s
This commit is contained in:
@@ -78,10 +78,10 @@ public class WorkerClientService : IWorkerClientService
|
|||||||
{
|
{
|
||||||
var workerUrl = language.ToLowerInvariant() switch
|
var workerUrl = language.ToLowerInvariant() switch
|
||||||
{
|
{
|
||||||
"c++" => _configuration["Workers:Cpp"],
|
"c++" or "cpp" => _configuration["Workers:Cpp"],
|
||||||
"java" => _configuration["Workers:Java"],
|
"java" => _configuration["Workers:Java"],
|
||||||
"kotlin" => _configuration["Workers:Kotlin"],
|
"kotlin" => _configuration["Workers:Kotlin"],
|
||||||
"c#" => _configuration["Workers:CSharp"],
|
"c#" or "csharp" => _configuration["Workers:CSharp"],
|
||||||
"python" => _configuration["Workers:Python"],
|
"python" => _configuration["Workers:Python"],
|
||||||
_ => throw new NotSupportedException($"Language {language} is not supported")
|
_ => throw new NotSupportedException($"Language {language} is not supported")
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user