Skip to content

Commit

Permalink
Fix params removed in last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdlaird committed Nov 6, 2024
1 parent 279f853 commit fc11f87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyngrok/ngrok.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@ def connect(addr: Optional[str] = None,

_interpolate_tunnel_definition(pyngrok_config, options, addr, proto, name)

proto = options.get("proto")
name = options.get("name")

# Remove proto when "labels" is defined
if "labels" in options:
options.pop("proto")
Expand Down

0 comments on commit fc11f87

Please sign in to comment.