Skip to content

Instantly share code, notes, and snippets.

@acs
Created April 24, 2017 15:41
Show Gist options
  • Save acs/5c35b016c62a9d71f135490650a16b27 to your computer and use it in GitHub Desktop.
Save acs/5c35b016c62a9d71f135490650a16b27 to your computer and use it in GitHub Desktop.
Avoid load identities in gelk enrichment
(acs@dellx) (master *$% u=) ~/devel/GrimoireELK $ git diff grimoire_elk/arthur.py
diff --git a/grimoire_elk/arthur.py b/grimoire_elk/arthur.py
index 2d05541..19fc1f7 100755
--- a/grimoire_elk/arthur.py
+++ b/grimoire_elk/arthur.py
@@ -510,7 +510,8 @@ def enrich_backend(url, clean, backend_name, backend_params, ocean_index=None,
logger.info("Adding enrichment data to %s", enrich_backend.elastic.index_url)
- if db_sortinghat:
+ logger.info("HOT FIX: NOT LOADING SH IDENTITIES")
+ if db_sortinghat and False:
# FIXME: This step won't be done from enrich in the future
total_ids = load_identities(ocean_backend, enrich_backend)
logger.info("Total identities loaded %i ", total_ids)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment