Skip to content

Commit

Permalink
fix(cli/delete): change filter to include env
Browse files Browse the repository at this point in the history
  • Loading branch information
anshbansal committed Aug 26, 2024
1 parent 8479d2f commit ab45a13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions metadata-ingestion/src/datahub/ingestion/graph/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ def _get_env_filters(env: str) -> List[SearchFilterRule]:
"field": "customProperties",
"value": f"instance={env}",
},
{
"field": "env",
"value": env,
}
# Note that not all entity types have an env (e.g. dashboards / charts).
# If the env filter is specified, these will be excluded.
]
Expand Down

0 comments on commit ab45a13

Please sign in to comment.