Rewrites runner location set
This commit is contained in:
parent
3e500e8346
commit
eecdcf308d
|
@ -37,12 +37,10 @@ namespace KubernetesWorkflow
|
||||||
var deployment = CreateDeployment(containerRecipes, location, podLabel);
|
var deployment = CreateDeployment(containerRecipes, location, podLabel);
|
||||||
var internalService = CreateInternalService(containerRecipes);
|
var internalService = CreateInternalService(containerRecipes);
|
||||||
var externalService = CreateExternalService(containerRecipes);
|
var externalService = CreateExternalService(containerRecipes);
|
||||||
var runnerLocation = DetermineRunnerLocation(deployment);
|
|
||||||
|
|
||||||
return new StartResult(cluster, containerRecipes, deployment, internalService, externalService)
|
var result = new StartResult(cluster, containerRecipes, deployment, internalService, externalService);
|
||||||
{
|
result.RunnerLocation = DetermineRunnerLocation(deployment);
|
||||||
RunnerLocation = runnerLocation
|
return result;
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private RunnerLocation DetermineRunnerLocation(RunningDeployment deployment)
|
private RunnerLocation DetermineRunnerLocation(RunningDeployment deployment)
|
||||||
|
|
Loading…
Reference in New Issue