Skip to content

Commit 3b4ab44

Browse files
authored
fix: log function/cache names in invoke-function (#349)
1 parent aae7679 commit 3b4ab44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

momento/src/commands/functions/function_cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub async fn invoke_function(
5050
data: Option<String>,
5151
) -> Result<(), CliError> {
5252
let data = data.unwrap_or_default();
53-
let function_info = "Name: {name}, Cache Namespace: {cache_name}";
53+
let function_info = format!("Name: {name}, Cache Namespace: {cache_name}");
5454
if data.is_empty() {
5555
console_data!("Invoking function. {function_info}");
5656
} else {

0 commit comments

Comments
 (0)