Skip to content

Commit 226a985

Browse files
committed
otel: formatting fixes
1 parent 5854147 commit 226a985

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/src/main/java/io/grpc/internal/InternalSubchannel.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,8 +634,10 @@ public void transportShutdown(final Status s) {
634634
ChannelLogLevel.INFO, "{0} SHUTDOWN with {1}", transport.getLogId(), printShortStatus(s));
635635
shutdownInitiated = true;
636636
subchannelMetrics.recordConnectionAttemptFailed(buildLabelSet(
637-
getAttributeOrDefault(addressIndex.getCurrentEagAttributes(), NameResolver.ATTR_BACKEND_SERVICE),
638-
getAttributeOrDefault(addressIndex.getCurrentEagAttributes(), LoadBalancer.ATTR_LOCALITY_NAME),
637+
getAttributeOrDefault(
638+
addressIndex.getCurrentEagAttributes(), NameResolver.ATTR_BACKEND_SERVICE),
639+
getAttributeOrDefault(
640+
addressIndex.getCurrentEagAttributes(), LoadBalancer.ATTR_LOCALITY_NAME),
639641
null, null
640642
));
641643
syncContext.execute(new Runnable() {

0 commit comments

Comments
 (0)