Skip to content

Commit

Permalink
Remove the dublicate declaration of the
Browse files Browse the repository at this point in the history
`remote_port` variable

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
  • Loading branch information
mihaelabalutoiu committed Mar 29, 2024
1 parent 3f9950a commit dccf614
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion coriolis/providers/replicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ def _get_ssh_tunnel(self):
it simply creates the object, without actually connecting.
"""
remote_host = self._ssh_conn_info["hostname"]
remote_port = self._ssh_conn_info["port"]
remote_user = self._ssh_conn_info["username"]
local_host = "127.0.0.1"
remote_port = self._ssh_conn_info.get("port", 22)
Expand Down

0 comments on commit dccf614

Please sign in to comment.