Skip to content

Commit

Permalink
Turn off any jar-dependencies lookup when running install command wit…
Browse files Browse the repository at this point in the history
…h --local

Fixes: elastic#6386

Fixes elastic#6410
  • Loading branch information
ph committed Dec 16, 2016
1 parent fa18df3 commit 2d000ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/pluginmanager/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d000ca

Please sign in to comment.