8000 fix errors (#5212) · runck014/python-docs-samples@808c8e0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 808c8e0

Browse files
authored
1 parent 951efa4 commit 808c8e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

run/deployment-previews/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ RUN pip3 install --upgrade pip
2727
RUN pip3 install -r requirements.txt
2828

2929
# Run the CLI
30-
CMD exec python3 app/check-status.py
30+
ENTRYPOINT ["python3", "/app/check_status.py"]
3131
# [END cloudrun_deployment_preview_dockerfile]

run/deployment-previews/check_status.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def set(
245245
click.secho("Dry-run: ", fg="blue", bold=True, nl=False)
246246
click.echo(
247247
(
248-
f"Status would have been created on {repo.repo_name}, "
248+
f"Status would have been created on {repo_name}, "
249249
f"commit {commit.sha[:7]}, linking to {revision_url} "
250250
f"on service {service_obj['metadata']['name']}"
251251
)
@@ -260,7 +260,7 @@ def set(
260260
)
261261
click.secho("Success: ", fg="green", bold=True, nl=False)
262262
click.echo(
263-
f"Status created on {repo.repo_name}, commit {commit.sha[:7]}, "
263+
f"Status created on {repo_name}, commit {commit.sha[:7]}, "
264264
f"linking to {revision_url} on service {service_obj['metadata']['name']}"
265265
)
266266

0 commit comments

Comments
 (0)
0