Skip to content

Commit

Permalink
fix: avoid conflicts with official elasticsearch package
Browse files Browse the repository at this point in the history
  • Loading branch information
alee committed Dec 5, 2024
1 parent 5c43787 commit 45d7548
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/curator/invoke_tasks/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from invoke import Collection

from . import borg, database, docs, elasticsearch, drupal, permissions
from . import borg, database, docs, es, drupal, permissions
from .base import (
clean,
collectstatic,
Expand Down Expand Up @@ -29,6 +29,6 @@
ns.add_collection(borg)
ns.add_collection(Collection.from_module(database, "db"))
ns.add_collection(docs)
ns.add_collection(Collection.from_module(elasticsearch, "es"))
ns.add_collection(Collection.from_module(es, "es"))
ns.add_collection(drupal)
ns.add_collection(Collection.from_module(permissions, "perm"))
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

@task(aliases=["ul"])
def update_license(ctx, license_path=None):
"""
FIXME: check if this is still used / needed
"""
es_hosts = ["elasticsearch"]
if settings.DEPLOY_ENVIRONMENT.is_production:
es_hosts.append("elasticsearch2")
Expand Down

0 comments on commit 45d7548

Please sign in to comment.