Skip to content

Commit

Permalink
remove enum value that sneaked in by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
vandonr committed Dec 20, 2024
1 parent 20cb863 commit 43a3d3d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 18 deletions.
3 changes: 1 addition & 2 deletions tracer/src/Datadog.Trace/Configuration/IntegrationId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ internal enum IntegrationId
DirectoryListingLeak,
SessionTimeout,
DatadogTraceManual,
EmailHtmlInjection,
Protobuf
EmailHtmlInjection
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal static partial class IntegrationIdExtensions
/// The number of members in the enum.
/// This is a non-distinct count of defined names.
/// </summary>
public const int Length = 73;
public const int Length = 72;

/// <summary>
/// Returns the string representation of the <see cref="Datadog.Trace.Configuration.IntegrationId"/> value.
Expand Down Expand Up @@ -102,7 +102,6 @@ public static string ToStringFast(this Datadog.Trace.Configuration.IntegrationId
Datadog.Trace.Configuration.IntegrationId.SessionTimeout => nameof(Datadog.Trace.Configuration.IntegrationId.SessionTimeout),
Datadog.Trace.Configuration.IntegrationId.DatadogTraceManual => nameof(Datadog.Trace.Configuration.IntegrationId.DatadogTraceManual),
Datadog.Trace.Configuration.IntegrationId.EmailHtmlInjection => nameof(Datadog.Trace.Configuration.IntegrationId.EmailHtmlInjection),
Datadog.Trace.Configuration.IntegrationId.Protobuf => nameof(Datadog.Trace.Configuration.IntegrationId.Protobuf),
_ => value.ToString(),
};

Expand Down Expand Up @@ -188,7 +187,6 @@ public static Datadog.Trace.Configuration.IntegrationId[] GetValues()
Datadog.Trace.Configuration.IntegrationId.SessionTimeout,
Datadog.Trace.Configuration.IntegrationId.DatadogTraceManual,
Datadog.Trace.Configuration.IntegrationId.EmailHtmlInjection,
Datadog.Trace.Configuration.IntegrationId.Protobuf,
};

/// <summary>
Expand Down Expand Up @@ -274,6 +272,5 @@ public static string[] GetNames()
nameof(Datadog.Trace.Configuration.IntegrationId.SessionTimeout),
nameof(Datadog.Trace.Configuration.IntegrationId.DatadogTraceManual),
nameof(Datadog.Trace.Configuration.IntegrationId.EmailHtmlInjection),
nameof(Datadog.Trace.Configuration.IntegrationId.Protobuf),
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal static partial class IntegrationIdExtensions
/// The number of members in the enum.
/// This is a non-distinct count of defined names.
/// </summary>
public const int Length = 73;
public const int Length = 72;

/// <summary>
/// Returns the string representation of the <see cref="Datadog.Trace.Configuration.IntegrationId"/> value.
Expand Down Expand Up @@ -102,7 +102,6 @@ public static string ToStringFast(this Datadog.Trace.Configuration.IntegrationId
Datadog.Trace.Configuration.IntegrationId.SessionTimeout => nameof(Datadog.Trace.Configuration.IntegrationId.SessionTimeout),
Datadog.Trace.Configuration.IntegrationId.DatadogTraceManual => nameof(Datadog.Trace.Configuration.IntegrationId.DatadogTraceManual),
Datadog.Trace.Configuration.IntegrationId.EmailHtmlInjection => nameof(Datadog.Trace.Configuration.IntegrationId.EmailHtmlInjection),
Datadog.Trace.Configuration.IntegrationId.Protobuf => nameof(Datadog.Trace.Configuration.IntegrationId.Protobuf),
_ => value.ToString(),
};

Expand Down Expand Up @@ -188,7 +187,6 @@ public static Datadog.Trace.Configuration.IntegrationId[] GetValues()
Datadog.Trace.Configuration.IntegrationId.SessionTimeout,
Datadog.Trace.Configuration.IntegrationId.DatadogTraceManual,
Datadog.Trace.Configuration.IntegrationId.EmailHtmlInjection,
Datadog.Trace.Configuration.IntegrationId.Protobuf,
};

/// <summary>
Expand Down Expand Up @@ -274,6 +272,5 @@ public static string[] GetNames()
nameof(Datadog.Trace.Configuration.IntegrationId.SessionTimeout),
nameof(Datadog.Trace.Configuration.IntegrationId.DatadogTraceManual),
nameof(Datadog.Trace.Configuration.IntegrationId.EmailHtmlInjection),
nameof(Datadog.Trace.Configuration.IntegrationId.Protobuf),
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal static partial class IntegrationIdExtensions
/// The number of members in the enum.
/// This is a non-distinct count of defined names.
/// </summary>
public const int Length = 73;
public const int Length = 72;

/// <summary>
/// Returns the string representation of the <see cref="Datadog.Trace.Configuration.IntegrationId"/> value.
Expand Down Expand Up @@ -102,7 +102,6 @@ public static string ToStringFast(this Datadog.Trace.Configuration.IntegrationId
Datadog.Trace.Configuration.IntegrationId.SessionTimeout => nameof(Datadog.Trace.Configuration.IntegrationId.SessionTimeout),
Datadog.Trace.Configuration.IntegrationId.DatadogTraceManual => nameof(Datadog.Trace.Configuration.IntegrationId.DatadogTraceManual),
Datadog.Trace.Configuration.IntegrationId.EmailHtmlInjection => nameof(Datadog.Trace.Configuration.IntegrationId.EmailHtmlInjection),
Datadog.Trace.Configuration.IntegrationId.Protobuf => nameof(Datadog.Trace.Configuration.IntegrationId.Protobuf),
_ => value.ToString(),
};

Expand Down Expand Up @@ -188,7 +187,6 @@ public static Datadog.Trace.Configuration.IntegrationId[] GetValues()
Datadog.Trace.Configuration.IntegrationId.SessionTimeout,
Datadog.Trace.Configuration.IntegrationId.DatadogTraceManual,
Datadog.Trace.Configuration.IntegrationId.EmailHtmlInjection,
Datadog.Trace.Configuration.IntegrationId.Protobuf,
};

/// <summary>
Expand Down Expand Up @@ -274,6 +272,5 @@ public static string[] GetNames()
nameof(Datadog.Trace.Configuration.IntegrationId.SessionTimeout),
nameof(Datadog.Trace.Configuration.IntegrationId.DatadogTraceManual),
nameof(Datadog.Trace.Configuration.IntegrationId.EmailHtmlInjection),
nameof(Datadog.Trace.Configuration.IntegrationId.Protobuf),
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal static partial class IntegrationIdExtensions
/// The number of members in the enum.
/// This is a non-distinct count of defined names.
/// </summary>
public const int Length = 73;
public const int Length = 72;

/// <summary>
/// Returns the string representation of the <see cref="Datadog.Trace.Configuration.IntegrationId"/> value.
Expand Down Expand Up @@ -102,7 +102,6 @@ public static string ToStringFast(this Datadog.Trace.Configuration.IntegrationId
Datadog.Trace.Configuration.IntegrationId.SessionTimeout => nameof(Datadog.Trace.Configuration.IntegrationId.SessionTimeout),
Datadog.Trace.Configuration.IntegrationId.DatadogTraceManual => nameof(Datadog.Trace.Configuration.IntegrationId.DatadogTraceManual),
Datadog.Trace.Configuration.IntegrationId.EmailHtmlInjection => nameof(Datadog.Trace.Configuration.IntegrationId.EmailHtmlInjection),
Datadog.Trace.Configuration.IntegrationId.Protobuf => nameof(Datadog.Trace.Configuration.IntegrationId.Protobuf),
_ => value.ToString(),
};

Expand Down Expand Up @@ -188,7 +187,6 @@ public static Datadog.Trace.Configuration.IntegrationId[] GetValues()
Datadog.Trace.Configuration.IntegrationId.SessionTimeout,
Datadog.Trace.Configuration.IntegrationId.DatadogTraceManual,
Datadog.Trace.Configuration.IntegrationId.EmailHtmlInjection,
Datadog.Trace.Configuration.IntegrationId.Protobuf,
};

/// <summary>
Expand Down Expand Up @@ -274,6 +272,5 @@ public static string[] GetNames()
nameof(Datadog.Trace.Configuration.IntegrationId.SessionTimeout),
nameof(Datadog.Trace.Configuration.IntegrationId.DatadogTraceManual),
nameof(Datadog.Trace.Configuration.IntegrationId.EmailHtmlInjection),
nameof(Datadog.Trace.Configuration.IntegrationId.Protobuf),
};
}

0 comments on commit 43a3d3d

Please sign in to comment.