Skip to content

Commit

Permalink
getParent
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Nov 4, 2024
1 parent 99a7fb2 commit 4d76e5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ protected RestClient buildClient(Settings settings, HttpHost[] hosts) throws IOE
} catch (URISyntaxException e) {
throw new RuntimeException(e);
}
Path configPath = PathUtils.get(uri).toAbsolutePath();
Path configPath = PathUtils.get(uri).getParent().toAbsolutePath();
return new SecureRestClientBuilder(settings, configPath).build();
} else {
configureHttpsClient(builder, settings);
Expand Down

0 comments on commit 4d76e5d

Please sign in to comment.