Skip to content

Commit

Permalink
fix: removed Exception never thrown by JlibService.close (3453)
Browse files Browse the repository at this point in the history
Fixed issue with Execeptions in JlibService

Signed-off-by: Shlok <Shlok.Nangia24@gmail.com>
---
Merge branch 'eclipse-jkube:master' into master
---
Merge branch 'eclipse-jkube:master' into master
---
Merge branch 'eclipse-jkube:master' into master

Signed-off-by: Shlok <Shlok.Nangia24@gmail.com>
  • Loading branch information
ShlokNangia24 authored Oct 14, 2024
1 parent c4363ac commit 436fda1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public JibService(JibLogger jibLogger, AuthConfigFactory authConfigFactory, JKub
}

@Override
public void close() throws Exception {
public void close() {
try {
executorService.shutdown();
if (!executorService.awaitTermination(JIB_EXECUTOR_SHUTDOWN_TIMEOUT_SECONDS, TimeUnit.SECONDS)) {
Expand Down

0 comments on commit 436fda1

Please sign in to comment.