Skip to content

Commit eef248d

Browse files
Update sdk/src/main/java/io/opentdf/platform/sdk/SDKBuilder.java
Co-authored-by: Dave Mihalcik <[email protected]>
1 parent 06db4e9 commit eef248d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sdk/src/main/java/io/opentdf/platform/sdk/SDKBuilder.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,9 @@ private Interceptor getAuthInterceptor(RSAKey rsaKey) {
172172

173173
// we don't add the auth listener to this channel since it is only used to call
174174
// the well known endpoint
175-
ProtocolClient bootstrapClient = null;
176175
GetWellKnownConfigurationResponse config;
177176
var httpClient = getHttpClient();
178-
bootstrapClient = getUnauthenticatedProtocolClient(platformEndpoint, httpClient) ;
177+
ProtocolClient bootstrapClient = getUnauthenticatedProtocolClient(platformEndpoint, httpClient) ;
179178
var stub = new WellKnownServiceClient(bootstrapClient);
180179
try {
181180
config = RequestHelper.getOrThrow(stub.getWellKnownConfigurationBlocking(GetWellKnownConfigurationRequest.getDefaultInstance(), Collections.emptyMap()).execute());

0 commit comments

Comments
 (0)