Skip to content

Commit

Permalink
Fix bmc_from_host_name_or_ip typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bn222 committed Nov 22, 2023
1 parent 3a0955f commit 7348228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def bmc_from_host_name_or_ip(hostname: str, ip: Optional[str], user: str = "root
if ip is None:
return BMC.from_hostname(hostname, user, password)
else:
return BMC.from_hostname(ip, user, password)
return BMC.from_ip(ip, user, password)


class Host:
Expand Down

0 comments on commit 7348228

Please sign in to comment.