Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
99-NinetyNine authored Jan 7, 2025
1 parent 740cfaa commit 78d7d01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dvc_ssh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _prepare_credentials(self, **config):
"client_factory", InteractiveSSHClient
)
try:
assert config.get("host) is not None
assert config.get("host") is not None
user_ssh_config = parse_config(
host=config["host"], port=config.get("port", DEFAULT_PORT)
)
Expand All @@ -61,6 +61,7 @@ def _prepare_credentials(self, **config):
user_ssh_config = {}
except Exception:
# host could have been None
# just doing this to check if test passes
user_ssh_config = {}

login_info["host"] = user_ssh_config.get("Hostname", config["host"])
Expand Down

0 comments on commit 78d7d01

Please sign in to comment.