File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed
http4s/.jvm/src/main/scala Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -102,10 +102,10 @@ private[http4s] abstract class PlatformCompanion[F[_]: Async: Files: Env]
102
102
" Cannot find where/how to connect using the provided config!"
103
103
).raiseError
104
104
)
105
- case Some ((cluster , server, auth)) =>
105
+ case Some ((clusterData , server, auth)) =>
106
106
ssl(
107
- caFile = cluster .`certificate-authority`,
108
- caData = cluster .`certificate-authority-data`,
107
+ caFile = clusterData .`certificate-authority`,
108
+ caData = clusterData .`certificate-authority-data`,
109
109
clientCert = auth.`client-certificate-data`,
110
110
clientCertFile = auth.`client-certificate`,
111
111
clientKey = auth.`client-key-data`,
Original file line number Diff line number Diff line change @@ -95,10 +95,10 @@ private[http4s] abstract class PlatformCompanion[F[_]: Async: Files: Env]
95
95
" Cannot find where/how to connect using the provided config!"
96
96
).raiseError
97
97
)
98
- case Some ((cluster , server, auth)) =>
98
+ case Some ((clusterData , server, auth)) =>
99
99
client(
100
- caFile = cluster .`certificate-authority`,
101
- caData = cluster .`certificate-authority-data`,
100
+ caFile = clusterData .`certificate-authority`,
101
+ caData = clusterData .`certificate-authority-data`,
102
102
clientCert = auth.`client-certificate-data`,
103
103
clientCertFile = auth.`client-certificate`,
104
104
clientKey = auth.`client-key-data`,
Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ private[http4s] abstract class JVMPlatform[F[_]](implicit
68
68
" Cannot find where/how to connect using the provided config!"
69
69
).raiseError
70
70
)
71
- case Some ((cluster , server, auth)) =>
72
- val sslContext = F .blocking(SSLContexts .from(cluster , auth))
71
+ case Some ((clusterData , server, auth)) =>
72
+ val sslContext = F .blocking(SSLContexts .from(clusterData , auth))
73
73
74
74
Resource
75
75
.eval(sslContext)
Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ private[client] trait SttpJVM[F[_]] {
59
59
throw new IllegalArgumentException (
60
60
" Cannot find where/how to connect using the provided config!"
61
61
)
62
- case Some ((cluster , server, auth)) =>
63
- val ssl = SSLContexts .from(cluster , auth)
62
+ case Some ((clusterData , server, auth)) =>
63
+ val ssl = SSLContexts .from(clusterData , auth)
64
64
HttpClient [SttpF [F , * ]](
65
65
server,
66
66
SttpKBackend [F , T ](buildWithSSLContext(ssl)),
@@ -124,8 +124,8 @@ private[client] trait SttpJVM[F[_]] {
124
124
val str = readFile(config)
125
125
manifest.parse[Config ](str) match {
126
126
case Left (error) => throw error
127
- case Right (config ) =>
128
- fromConfig(config , context = context, cluster = cluster)
127
+ case Right (configData ) =>
128
+ fromConfig(configData , context = context, cluster = cluster)
129
129
}
130
130
}
131
131
You can’t perform that action at this time.
0 commit comments