mirror of
https://github.com/elastic/logstash.git
synced 2025-04-25 07:07:54 -04:00
Sort paths matched by a glob when '-f /some/wild*card' is given
This commit is contained in:
parent
b5d70840f4
commit
742c70df3e
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ class LogStash::Agent
|
|||
else
|
||||
# Get a list of files matching a glob. If the user specified a single
|
||||
# file, then this will only have one match and we are still happy.
|
||||
paths = Dir.glob(@config_path)
|
||||
paths = Dir.glob(@config_path).sort
|
||||
end
|
||||
|
||||
concatconfig = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue