Skip to content

Commit

Permalink
Fix worker default web_host to be None (faust-streaming#210)
Browse files Browse the repository at this point in the history
Co-authored-by: Ran Katzir <ran.katzir@valerann.com>
Co-authored-by: Vikram Patki <54442035+patkivikram@users.noreply.github.com>
  • Loading branch information
3 people authored Nov 2, 2021
1 parent 9385c81 commit 41200e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions faust/cli/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class worker(AppCommand):
option(
"--web-host",
"-h",
default=socket.gethostname(),
default=None,
type=str,
help=f"Canonical host name for the web server " f"(default: {WEB_BIND})",
),
Expand Down Expand Up @@ -86,7 +86,7 @@ def _init_worker_options(
with_web: bool,
web_port: Optional[int],
web_bind: Optional[str],
web_host: str,
web_host: Optional[str],
web_transport: URL,
**kwargs: Any,
) -> None:
Expand Down

0 comments on commit 41200e4

Please sign in to comment.