Skip to content
This repository was archived by the owner on Dec 20, 2025. It is now read-only.

Commit a10c284

Browse files
fix(web): remove Retrofit2EncodeCorrectionInterceptor from OkHttpClient.Builder which is meant for retrofit1 client
1 parent aa2429e commit a10c284

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

kork-web/src/main/groovy/com/netflix/spinnaker/config/OkHttp3ClientConfiguration.groovy

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,6 @@ class OkHttp3ClientConfiguration {
106106
okHttpClientBuilder.addInterceptor(okHttp3MetricsInterceptor)
107107
}
108108

109-
if (retrofit2EncodeCorrectionInterceptor != null) {
110-
okHttpClientBuilder.addInterceptor(retrofit2EncodeCorrectionInterceptor)
111-
}
112-
113109
if (!okHttpClientConfigurationProperties.keyStore && !okHttpClientConfigurationProperties.trustStore) {
114110
return okHttpClientBuilder
115111
}

0 commit comments

Comments
 (0)