Skip to content

Commit 1f37de5

Browse files
eschabelledsiper
authored andcommitted
in_exec_wasi: fix config key typo 'bool' -> 'oneshot'
The config_map entry for the oneshot option was incorrectly using 'bool' as the configuration key instead of 'oneshot'. This made the configuration inconsistent with the regular in_exec plugin and confusing for users. Signed-off-by: Eric D. Schabell <[email protected]>
1 parent 3c4f8f4 commit 1f37de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/in_exec_wasi/in_exec_wasi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ static struct flb_config_map config_map[] = {
453453
"Set the buffer size"
454454
},
455455
{
456-
FLB_CONFIG_MAP_BOOL, "bool", "false",
456+
FLB_CONFIG_MAP_BOOL, "oneshot", "false",
457457
0, FLB_TRUE, offsetof(struct flb_exec_wasi, oneshot),
458458
"execute the command only once"
459459
},

0 commit comments

Comments
 (0)