From 1604cb2a1ef9bd35e90bba57015ca8c91a948b71 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 13 Apr 2020 14:05:48 -0700 Subject: [PATCH] Polish --- .../metrics/web/reactive/client/WebClientExchangeTags.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTags.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTags.java index 72153e6c46..347fa01cb9 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTags.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTags.java @@ -88,7 +88,7 @@ public final class WebClientExchangeTags { if (response != null) { return Tag.of("status", String.valueOf(response.rawStatusCode())); } - else if (throwable != null) { + if (throwable != null) { return (throwable instanceof IOException) ? IO_ERROR : CLIENT_ERROR; } return CLIENT_ERROR;