Skip to content

Commit

Permalink
Remove pointless throws clause
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Barker <[email protected]>

rh-pre-commit.version: 2.0.1
rh-pre-commit.check-secrets: ENABLED
  • Loading branch information
SamBarker committed Aug 26, 2024
1 parent d8aa382 commit 4624b7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ void upstreamRequiresTlsClientAuth_TrustStore() throws Exception {
}
}

private void assertSuccessfulDirectClientAuthConnectionWithClientCert(KafkaCluster cluster) throws Exception {
private void assertSuccessfulDirectClientAuthConnectionWithClientCert(KafkaCluster cluster) {
try (var admin = CloseableAdmin.create(cluster.getKafkaClientConfiguration())) {
// Any operation to test successful connection to cluster
var result = admin.describeCluster().clusterId();
Expand Down

0 comments on commit 4624b7c

Please sign in to comment.