mirror of
https://github.com/actions/runner.git
synced 2025-12-12 05:37:01 +00:00
delete un-used code. (#218)
This commit is contained in:
@@ -5,12 +5,6 @@ using System.Runtime.Serialization;
|
||||
|
||||
namespace GitHub.DistributedTask.WebApi
|
||||
{
|
||||
public static class AgentConstants
|
||||
{
|
||||
// 1.x agent has been deprecated.
|
||||
public static readonly String Version = "0.0.0";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A task agent.
|
||||
/// </summary>
|
||||
@@ -59,11 +53,6 @@ namespace GitHub.DistributedTask.WebApi
|
||||
{
|
||||
m_labels = new HashSet<string>(agentToBeCloned.m_labels, StringComparer.OrdinalIgnoreCase);
|
||||
}
|
||||
|
||||
if (agentToBeCloned.PendingUpdate != null)
|
||||
{
|
||||
this.PendingUpdate = agentToBeCloned.PendingUpdate.Clone();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -126,26 +115,6 @@ namespace GitHub.DistributedTask.WebApi
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Pending update for this agent.
|
||||
/// </summary>
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public TaskAgentUpdate PendingUpdate
|
||||
{
|
||||
get;
|
||||
internal set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The agent cloud request that's currently associated with this agent.
|
||||
/// </summary>
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public TaskAgentCloudRequest AssignedAgentCloudRequest
|
||||
{
|
||||
get;
|
||||
internal set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The labels of the runner
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user