Fix typos in logging messages in FunctionInvoker and LambdaDestinationResolver

Signed-off-by: Kuntal Danech <kuntal7398@gmail.com>
This commit is contained in:
Kuntal Danech
2025-03-21 16:35:21 +05:30
parent 96e16cc712
commit 131588f374
2 changed files with 2 additions and 2 deletions

View File

@@ -129,7 +129,7 @@ public class FunctionInvoker implements RequestStreamHandler {
if (logger.isInfoEnabled()) {
if (!StringUtils.hasText(this.functionDefinition)) {
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);
if (names.size() == 1) {

View File

@@ -40,7 +40,7 @@ public class LambdaDestinationResolver implements DestinationResolver {
@Override
public String destination(Supplier<?> supplier, String name, Object value) {
if (logger.isDebugEnabled()) {
logger.debug("Lambda invoming value: " + value);
logger.debug("Lambda incoming value: " + value);
}
String destination = "unknown";
if (value instanceof Message) {