豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 4f11b0d

Browse files
luketomlinsonTingluoHuang
authored andcommitted
Use BrokerURL when using RunnerAdmin
1 parent 170033c commit 4f11b0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Runner.Listener/Configuration/ConfigurationManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ public async Task ConfigureAsync(CommandSettings command)
334334
{
335335
var runner = await _dotcomServer.AddRunnerAsync(runnerSettings.PoolId, agent, runnerSettings.GitHubUrl, registerToken, publicKeyXML);
336336
runnerSettings.ServerUrlV2 = runner.RunnerAuthorization.ServerUrl;
337+
runnerSettings.UseV2Flow = true; // if we are using runner admin, we also need to hit broker
337338

338339
agent.Id = runner.Id;
339340
agent.Authorization = new TaskAgentAuthorization()

0 commit comments

Comments
 (0)