mirror of
https://github.com/apache/superset.git
synced 2024-09-16 10:39:55 -04:00
fix(sshtunnel): argument params to properly setting server_port
(#23196)
This commit is contained in:
parent
218de6e6a4
commit
196e3eac8b
@ -51,8 +51,7 @@ class SSHManager:
|
|||||||
) -> SSHTunnelForwarder:
|
) -> SSHTunnelForwarder:
|
||||||
url = make_url_safe(sqlalchemy_database_uri)
|
url = make_url_safe(sqlalchemy_database_uri)
|
||||||
params = {
|
params = {
|
||||||
"ssh_address_or_host": ssh_tunnel.server_address,
|
"ssh_address_or_host": (ssh_tunnel.server_address, ssh_tunnel.server_port),
|
||||||
"ssh_port": ssh_tunnel.server_port,
|
|
||||||
"ssh_username": ssh_tunnel.username,
|
"ssh_username": ssh_tunnel.username,
|
||||||
"remote_bind_address": (url.host, url.port), # bind_port, bind_host
|
"remote_bind_address": (url.host, url.port), # bind_port, bind_host
|
||||||
"local_bind_address": (self.local_bind_address,),
|
"local_bind_address": (self.local_bind_address,),
|
||||||
|
Loading…
Reference in New Issue
Block a user