From 6f8465d52be95e945c8835de7fb2546e394d77da Mon Sep 17 00:00:00 2001 From: John Anderson Date: Thu, 7 Nov 2024 10:02:40 -0500 Subject: [PATCH] chore(jans-cedarling): clippy error from merge Signed-off-by: John Anderson --- .../cedarling/src/jwt/decoding_strategy/key_service.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jans-cedarling/cedarling/src/jwt/decoding_strategy/key_service.rs b/jans-cedarling/cedarling/src/jwt/decoding_strategy/key_service.rs index 1f14a57998a..f78f9bdf5db 100644 --- a/jans-cedarling/cedarling/src/jwt/decoding_strategy/key_service.rs +++ b/jans-cedarling/cedarling/src/jwt/decoding_strategy/key_service.rs @@ -126,9 +126,9 @@ impl HttpClient { Err(e) => return Err(KeyServiceError::MaxHttpRetriesReached(e)), // Exit if max retries exceeded } }; - Ok(response + response .error_for_status() - .map_err(KeyServiceError::HttpStatus)?) + .map_err(KeyServiceError::HttpStatus) } }