From 19620d65ac89172daa7cb11a3b21fb60ba26c7bb Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Thu, 4 Apr 2024 18:39:13 +0900 Subject: [PATCH] in_tail: Update comments for curly braces Because we can avoid the collisions for the tokens of comma usages. Signed-off-by: Hiroshi Hatake --- lib/fluent/plugin/in_tail.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/fluent/plugin/in_tail.rb b/lib/fluent/plugin/in_tail.rb index a13fec4ff3..3fa13f333f 100644 --- a/lib/fluent/plugin/in_tail.rb +++ b/lib/fluent/plugin/in_tail.rb @@ -297,8 +297,10 @@ def extended_glob_pattern(path) path.include?('*') || path.include?('?') || /\[.*\]/.match(path) end - # Curly braces is not supported for now because the default delimiter of path is ",". - # This should be collided for wildcard pattern for curly braces. + # Curly braces is not supported with default path_delimiter + # because the default delimiter of path is ",". + # This should be collided for wildcard pattern for curly braces and + # be handled as a error on #configure. def use_glob?(path) if @glob_policy == :always # For future extensions, we decided to use `always' term to handle