Skip to content

Commit 8780414

Browse files
committed
chore: Fix typos
1 parent 7515a7c commit 8780414

File tree

1 file changed

+2
-2
lines changed
  • java-showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it

1 file changed

+2
-2
lines changed

java-showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITOtelMetrics.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ void grpcOpenTelemetryImplementation_setSampledToLocalTracing_methodFullNameIsRe
896896
List<MetricData> metricDataList = getMetricDataList();
897897

898898
String gRPCMetricNamePrefix = "grpc.";
899-
String grpcMethodNameAttributeKey = "grpc.method";
899+
String gRPCMethodNameAttributeKey = "grpc.method";
900900

901901
List<MetricData> grpcMetricDataList =
902902
metricDataList.stream()
@@ -908,7 +908,7 @@ void grpcOpenTelemetryImplementation_setSampledToLocalTracing_methodFullNameIsRe
908908

909909
for (PointData pointData : pointDataList) {
910910
String methodName =
911-
pointData.getAttributes().get(AttributeKey.stringKey(grpcMethodNameAttributeKey));
911+
pointData.getAttributes().get(AttributeKey.stringKey(gRPCMethodNameAttributeKey));
912912

913913
// All the attributes in the gRPC metrics should have the full method name
914914
Truth.assertThat(methodName).doesNotMatch("other");

0 commit comments

Comments
 (0)