From 91e475e65fa2eba190ba06c89c555ed39e414ec8 Mon Sep 17 00:00:00 2001 From: spencergibb Date: Fri, 12 Mar 2021 16:05:37 -0500 Subject: [PATCH] Adds routeId to toString() and formatting --- .../filter/factory/RetryGatewayFilterFactory.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/RetryGatewayFilterFactory.java b/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/RetryGatewayFilterFactory.java index 097d4c00..6e79e358 100644 --- a/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/RetryGatewayFilterFactory.java +++ b/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/factory/RetryGatewayFilterFactory.java @@ -168,10 +168,13 @@ public class RetryGatewayFilterFactory @Override public String toString() { - return filterToStringCreator(RetryGatewayFilterFactory.this).append("retries", retryConfig.getRetries()) - .append("series", retryConfig.getSeries()).append("statuses", retryConfig.getStatuses()) - .append("methods", retryConfig.getMethods()).append("exceptions", retryConfig.getExceptions()) - .toString(); + return filterToStringCreator(RetryGatewayFilterFactory.this) + .append("routeId", retryConfig.getRouteId()) + .append("retries", retryConfig.getRetries()) + .append("series", retryConfig.getSeries()) + .append("statuses", retryConfig.getStatuses()) + .append("methods", retryConfig.getMethods()) + .append("exceptions", retryConfig.getExceptions()).toString(); } }; }