Fix typos in logging messages in FunctionInvoker and LambdaDestinationResolver
Signed-off-by: Kuntal Danech <kuntal7398@gmail.com>
This commit is contained in:
@@ -129,7 +129,7 @@ public class FunctionInvoker implements RequestStreamHandler {
|
|||||||
if (logger.isInfoEnabled()) {
|
if (logger.isInfoEnabled()) {
|
||||||
if (!StringUtils.hasText(this.functionDefinition)) {
|
if (!StringUtils.hasText(this.functionDefinition)) {
|
||||||
logger.info("Failed to determine default function. Please use 'spring.cloud.function.definition' property "
|
logger.info("Failed to determine default function. Please use 'spring.cloud.function.definition' property "
|
||||||
+ "or pass function definition as a constructir argument to this FunctionInvoker");
|
+ "or pass function definition as a constructor argument to this FunctionInvoker");
|
||||||
}
|
}
|
||||||
Set<String> names = functionCatalog.getNames(null);
|
Set<String> names = functionCatalog.getNames(null);
|
||||||
if (names.size() == 1) {
|
if (names.size() == 1) {
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ public class LambdaDestinationResolver implements DestinationResolver {
|
|||||||
@Override
|
@Override
|
||||||
public String destination(Supplier<?> supplier, String name, Object value) {
|
public String destination(Supplier<?> supplier, String name, Object value) {
|
||||||
if (logger.isDebugEnabled()) {
|
if (logger.isDebugEnabled()) {
|
||||||
logger.debug("Lambda invoming value: " + value);
|
logger.debug("Lambda incoming value: " + value);
|
||||||
}
|
}
|
||||||
String destination = "unknown";
|
String destination = "unknown";
|
||||||
if (value instanceof Message) {
|
if (value instanceof Message) {
|
||||||
|
|||||||
Reference in New Issue
Block a user