Skip to content

Commit

Permalink
feat(cli): remove inconsistency check command (#6569)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshbansal authored Nov 29, 2022
1 parent 6dd6bfc commit 329ecb8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 52 deletions.
1 change: 1 addition & 0 deletions docs/how/updating-datahub.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This file documents any backwards-incompatible changes in DataHub and assists pe
## Next

### Breaking Changes
- `datahub check graph-consistency` command has been removed. It was a beta API that we had considered but decided there are better solutions for this. So removing this.

### Potential Downtime

Expand Down
8 changes: 0 additions & 8 deletions metadata-ingestion/src/datahub/cli/check_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
import click

from datahub import __package_name__
from datahub.cli.cli_utils import get_url_and_token
from datahub.cli.json_file import check_mce_file
from datahub.graph_consistency import check_data_platform
from datahub.ingestion.run.pipeline import Pipeline
from datahub.ingestion.sink.sink_registry import sink_registry
from datahub.ingestion.source.source_registry import source_registry
Expand Down Expand Up @@ -89,9 +87,3 @@ def plugins(verbose: bool) -> None:
click.echo(
f"If a plugin is disabled, try running: pip install '{__package_name__}[<plugin>]'"
)


@check.command()
def graph_consistency() -> None:
gms_endpoint, gms_token = get_url_and_token()
check_data_platform.check(gms_endpoint, gms_token)
Empty file.

This file was deleted.

0 comments on commit 329ecb8

Please sign in to comment.