Skip to content

Commit

Permalink
fixup! Fixes #23347: Improve variable_string_from_command by using ex…
Browse files Browse the repository at this point in the history
…ecresult_as_data

Fixes #23347: Improve variable_string_from_command by using execresult_as_data
  • Loading branch information
amousset committed Aug 24, 2023
1 parent f5e7145 commit 3475cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree/30_generic_methods/variable_string_from_command.cf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ bundle agent variable_string_from_command(prefix, name, command)
"result" data => execresult_as_data("${command}", "useshell", "stdout");

returned_zero::
"${prefix}.${name}" string => "${result[output]}"
"${prefix}.${name}" string => "${result[output]}";

classes:
pass1::
Expand Down

0 comments on commit 3475cad

Please sign in to comment.