Skip to content

Commit

Permalink
in_tail: Update comments for curly braces
Browse files Browse the repository at this point in the history
Because we can avoid the collisions for the tokens of comma usages.

Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Apr 4, 2024
1 parent 298a24b commit 68e168c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/fluent/plugin/in_tail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 an error on #configure.
def use_glob?(path)
if @glob_policy == :always
# For future extensions, we decided to use `always' term to handle
Expand Down

0 comments on commit 68e168c

Please sign in to comment.