Skip to content

Commit

Permalink
Fixed bug in VaultServiceRolesInstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-v committed Apr 15, 2021
1 parent 75fe1ea commit d4d6800
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public VaultServiceRolesInstaller roleTtl(String roleTtl) {
* keys) to use it for machine-to-machine authentication.
*/
public Mono<Void> install() {
return Mono.fromRunnable(this::install0)
return Mono.defer(this::install0)
.subscribeOn(Schedulers.boundedElastic())
.doOnSubscribe(s -> LOGGER.debug("[install] Installing vault service roles"))
.doOnSuccess(s -> LOGGER.debug("[install][success] Installed vault service roles"))
Expand Down

0 comments on commit d4d6800

Please sign in to comment.