mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
Turn off any jar-dependencies lookup when running install command with --local
Fixes: #6386 Fixes #6410
This commit is contained in:
parent
29413ced5c
commit
ce64ff441a
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ class LogStash::PluginManager::Install < LogStash::PluginManager::Command
|
|||
# but the argument parsing does not support it for now so currently if specifying --version only
|
||||
# one plugin name can be also specified.
|
||||
def execute
|
||||
# Turn off any jar dependencies lookup when running with `--local`
|
||||
ENV["JARS_SKIP"] = "true" if local?
|
||||
|
||||
# This is a special flow for PACK related plugins,
|
||||
# if we dont detect an pack we will just use the normal `Bundle install` Strategy`
|
||||
# this could be refactored into his own strategy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue