Skip to content

Commit

Permalink
Config mode fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pietos committed Mar 11, 2024
1 parent 76e203e commit 041f598
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netmiko/aruba/aruba_aoscx_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ def session_preparation(self) -> None:

def check_config_mode(
self,
check_string: str = "(config) #",
check_string: str = "(config)#",
pattern: str = r"[>#]",
force_regex: bool = False,
) -> bool:
"""
Checks if the device is in configuration mode or not.
Aruba uses "(<controller name>) (config) #" as config prompt
Aruba uses "(<controller name>)(config)#" as config prompt
"""
return super().check_config_mode(check_string=check_string, pattern=pattern)

Expand Down

0 comments on commit 041f598

Please sign in to comment.