Update function definition name in log message to avoid confusion
Resolves #1102
This commit is contained in:
committed by
Oleg Zhurakousky
parent
fb0af94da2
commit
0f6aaaec45
@@ -205,9 +205,9 @@ public class RoutingFunction implements Function<Object, Object> {
|
|||||||
private FunctionInvocationWrapper functionFromDefinition(String definition) {
|
private FunctionInvocationWrapper functionFromDefinition(String definition) {
|
||||||
FunctionInvocationWrapper function = this.resolveFunction(definition);
|
FunctionInvocationWrapper function = this.resolveFunction(definition);
|
||||||
Assert.notNull(function, "Failed to lookup function to route based on the value of 'spring.cloud.function.definition' property '"
|
Assert.notNull(function, "Failed to lookup function to route based on the value of 'spring.cloud.function.definition' property '"
|
||||||
+ functionProperties.getDefinition() + "'");
|
+ definition + "'");
|
||||||
if (logger.isInfoEnabled()) {
|
if (logger.isInfoEnabled()) {
|
||||||
logger.info("Resolved function from provided [definition] property " + functionProperties.getDefinition());
|
logger.info("Resolved function from provided [definition] property " + definition);
|
||||||
}
|
}
|
||||||
return function;
|
return function;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user