Minor cleanup

This commit is contained in:
Oleg Zhurakousky
2021-10-26 15:25:59 +02:00
parent 2a702ec669
commit 82e68d4221

View File

@@ -922,7 +922,7 @@ public class SimpleFunctionRegistry implements FunctionRegistry, FunctionInspect
.transform(mono -> {
mono = Mono.from((Publisher) mono).map(v -> this.extractValueFromOriginalValueHolderIfNecessary(v));
((Consumer) this.target).accept(mono);
return Mono.ignoreElements((Flux) mono);
return Mono.ignoreElements((Mono) mono);
}).then();
}
}