mirror of
https://github.com/actions/runner.git
synced 2025-12-12 15:13:30 +00:00
Support replacing runners in v2 flow (#2791)
* Support replacing runners in v2 flow * Use correct endpoint for listing runners * fix test * really fix test * lint
This commit is contained in:
@@ -41,7 +41,7 @@ namespace GitHub.DistributedTask.WebApi
|
||||
|
||||
public List<TaskAgent> ToTaskAgents()
|
||||
{
|
||||
return Runners.Select(runner => new TaskAgent() { Name = runner.Name }).ToList();
|
||||
return Runners.Select(runner => new TaskAgent() { Id = runner.Id, Name = runner.Name }).ToList();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user