Skip to content

Commit 169c243

Browse files
committed
Added mono block for retrieving release information
1 parent 8df11ac commit 169c243

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/src/main/java/io/kafbat/ui/util/GithubReleaseInfo.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ public GithubReleaseInfo(int githubApiMaxWaitTime) {
4343
.onErrorResume(th -> true, th -> Mono.just(GithubReleaseDto.empty()))
4444
.doOnNext(release -> this.release = release)
4545
.then();
46+
47+
this.refreshMono.block();
4648
}
4749

4850
public GithubReleaseDto get() {

0 commit comments

Comments
 (0)