Skip to content

Commit

Permalink
fix lint for 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
shirshanka committed Jul 25, 2022
1 parent fdb2e23 commit 30de8e8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions metadata-ingestion/src/datahub/cli/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ def _restore(
stdin=fp,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
text=True,
)
if result.returncode != 0:
logger.error("Failed to run MySQL restore")
Expand Down Expand Up @@ -327,7 +326,7 @@ def _restore(
)
logger.info(f"Running index restore command: {command}")
result = subprocess.run(
[
args=[
"bash",
"-c",
"docker pull acryldata/datahub-upgrade:"
Expand All @@ -338,7 +337,6 @@ def _restore(
],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
text=True,
)
logger.info(
f"Index restore command finished with status {result.returncode}"
Expand Down

0 comments on commit 30de8e8

Please sign in to comment.