mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-01 19:25:56 +00:00
Revert "feat(cli): Modifies ingest-sample-data command to use DataHub… (#7899)
This commit is contained in:
parent
8f8c11081d
commit
967260634c
@ -20,7 +20,7 @@ import requests
|
||||
from expandvars import expandvars
|
||||
from requests_file import FileAdapter
|
||||
|
||||
from datahub.cli.cli_utils import DATAHUB_ROOT_FOLDER, get_url_and_token
|
||||
from datahub.cli.cli_utils import DATAHUB_ROOT_FOLDER
|
||||
from datahub.cli.docker_check import (
|
||||
DATAHUB_COMPOSE_LEGACY_VOLUME_FILTERS,
|
||||
DATAHUB_COMPOSE_PROJECT_FILTER,
|
||||
@ -924,8 +924,6 @@ def ingest_sample_data(path: Optional[str], token: Optional[str]) -> None:
|
||||
footer="Try running `datahub docker quickstart` first.",
|
||||
)
|
||||
|
||||
gms_host, gms_token = get_url_and_token()
|
||||
|
||||
# Run ingestion.
|
||||
click.echo("Starting ingestion...")
|
||||
recipe: dict = {
|
||||
@ -937,10 +935,7 @@ def ingest_sample_data(path: Optional[str], token: Optional[str]) -> None:
|
||||
},
|
||||
"sink": {
|
||||
"type": "datahub-rest",
|
||||
"config": {
|
||||
"server": gms_host,
|
||||
"token": gms_token,
|
||||
},
|
||||
"config": {"server": "http://localhost:8080"},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user