GetAgents from all runner groups durning config. (#2865)

* GetAgents from all runner groups

* Update ConfigurationManagerL0.cs
This commit is contained in:
Tingluo Huang
2023-09-20 11:05:44 -04:00
committed by GitHub
parent 6a2381f525
commit 5b2bc388ca
2 changed files with 2 additions and 2 deletions

View File

@@ -248,7 +248,7 @@ namespace GitHub.Runner.Listener.Configuration
}
else
{
agents = await _runnerServer.GetAgentsAsync(runnerSettings.PoolId, runnerSettings.AgentName);
agents = await _runnerServer.GetAgentsAsync(runnerSettings.AgentName);
}
Trace.Verbose("Returns {0} agents", agents.Count);