Skip to content

Commit

Permalink
[enriched-utils] Remove credentials for repository filter
Browse files Browse the repository at this point in the history
This code omits the credentials that may appear on the
repo origin (e.g., git private repos) when creating
the filter to get the data from the corresponding
raw index.

Signed-off-by: Valerio Cosentino <[email protected]>
  • Loading branch information
valeriocos authored and zhquan committed May 18, 2020
1 parent a5346ac commit b15814e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grimoire_elk/enriched/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_repository_filter(perceval_backend, perceval_backend_name, term=False):
return filter_

field = 'origin'
value = perceval_backend.origin
value = anonymize_url(perceval_backend.origin)

if perceval_backend_name in ["meetup", "nntp", "stackexchange", "jira"]:
# Until tag is supported in all raw and enriched indexes
Expand Down

0 comments on commit b15814e

Please sign in to comment.