Skip to content

Commit

Permalink
Check for moved to module when determining supply requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
b-deam committed Nov 18, 2022
1 parent 233471b commit 010e08b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions esrally/mechanic/supplier.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ def _supply_requirements(sources, distribution, plugins, revisions, distribution
supply_requirements["elasticsearch"] = ("distribution", _required_version(distribution_version), False)

for plugin in plugins:
if plugin.moved_to_module:
# TODO: https://github.com/elastic/rally/issues/1622
continue

if plugin.core_plugin:

This comment has been minimized.

Copy link
@dliappis

dliappis Nov 18, 2022

Contributor

nit: shouldn't this converted to an elif?

# core plugins are entirely dependent upon Elasticsearch.
supply_requirements[plugin.name] = supply_requirements["elasticsearch"]
Expand Down

0 comments on commit 010e08b

Please sign in to comment.