GH-769 Fix regression with FunctionArroundWrapper

Resolves #769
This commit is contained in:
Oleg Zhurakousky
2021-11-17 15:43:46 +01:00
parent 414b16c0a7
commit 140249dc3a

View File

@@ -1130,7 +1130,7 @@ public class SimpleFunctionRegistry implements FunctionRegistry, FunctionInspect
output = enhancer.apply(output); output = enhancer.apply(output);
} }
if (functionAroundWrapper == null && ObjectUtils.isEmpty(contentType) && !(output instanceof Publisher)) { if (ObjectUtils.isEmpty(contentType) && !(output instanceof Publisher)) {
return output; return output;
} }