Skip to content

Commit

Permalink
fix(quickstart): failure on a path not being present (#5554)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshbansal authored Aug 3, 2022
1 parent 865074e commit 0cbcaf3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion metadata-ingestion/src/datahub/cli/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def _restore(
"--restore-file",
required=False,
type=str,
default="~/.datahub/quickstart/backup.sql",
default=os.path.expanduser("~/.datahub/quickstart/backup.sql"),
help="Set this to provide a custom restore file",
)
@click.option(
Expand Down Expand Up @@ -528,6 +528,9 @@ def quickstart(
quickstart_compose_file
) # convert to list from tuple

auth_resources_folder = Path(DATAHUB_ROOT_FOLDER) / "plugins/auth/resources"
os.makedirs(auth_resources_folder, exist_ok=True)

default_quickstart_compose_file = _get_default_quickstart_compose_file()
if stop:
_attempt_stop(quickstart_compose_file)
Expand Down

0 comments on commit 0cbcaf3

Please sign in to comment.