Skip to content

Commit 09bcc8b

Browse files
committed
PR suggestions
1 parent 203fd70 commit 09bcc8b

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

tracer/src/Datadog.Trace/Configuration/Schema/ClientSchema.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public ClientSchema(SchemaVersion version, bool peerServiceTagsEnabled, bool rem
3939
_serviceNames =
4040
[
4141
useSuffix ? $"{defaultServiceName}-{HttpClientComponent}" : defaultServiceName,
42-
useSuffix ? $"{defaultServiceName}-grpc-client" : defaultServiceName,
42+
useSuffix ? $"{defaultServiceName}-{GrpcClientComponent}" : defaultServiceName,
4343
];
4444
if (serviceNameMappings is not null)
4545
{

tracer/test/Datadog.Trace.Tests/Configuration/Schema/ClientSchemaTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ public class ClientSchemaTests
4848
public static IEnumerable<(int SchemaVersion, string ExpectedSuffix)> GetOperationNameSuffixForRequestData()
4949
{
5050
yield return (0, string.Empty); // SchemaVersion.V0
51-
yield return (0, string.Empty);
5251
yield return (1, ".request"); // SchemaVersion.V1
53-
yield return (1, ".request");
5452
}
5553

5654
[Theory]

0 commit comments

Comments
 (0)