Skip to content

Commit

Permalink
Remove unused new (found in disassembly in public nuget) (#2550)
Browse files Browse the repository at this point in the history
* Remove unused new (found in disassembly in public nuget)

```
internal static void AddBatch(this ExportLogsServiceRequest request, Resource processResource, in Batch<OpenTelemetry.Logs.LogRecord> logRecordBatch)
{
	new Dictionary<string, InstrumentationLibraryLogs>();
	ResourceLogs resourceLogs = new ResourceLogs
	{
		Resource = processResource
	};```

* Remove now unused using

Co-authored-by: Alan West <[email protected]>
  • Loading branch information
ndrwrbgs and alanwest authored Nov 2, 2021
1 parent 1d16b0a commit 02f2594
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
// limitations under the License.
// </copyright>

using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Google.Protobuf;
using Google.Protobuf.Collections;
Expand All @@ -35,7 +34,6 @@ internal static void AddBatch(
OtlpResource.Resource processResource,
in Batch<LogRecord> logRecordBatch)
{
Dictionary<string, OtlpLogs.InstrumentationLibraryLogs> logRecordsByLibrary = new Dictionary<string, OtlpLogs.InstrumentationLibraryLogs>();
OtlpLogs.ResourceLogs resourceLogs = new OtlpLogs.ResourceLogs
{
Resource = processResource,
Expand Down

0 comments on commit 02f2594

Please sign in to comment.