Connect before reading the prompt? (#61797)
This commit is contained in:
parent
394a05108d
commit
a365e77cc3
1 changed files with 1 additions and 0 deletions
|
@ -346,6 +346,7 @@ class Connection(NetworkConnectionBase):
|
|||
name += "paramiko [%s]" % self._play_context.remote_addr
|
||||
return name
|
||||
|
||||
@ensure_connect
|
||||
def get_prompt(self):
|
||||
"""Returns the current prompt from the device"""
|
||||
return self._matched_prompt
|
||||
|
|
Loading…
Add table
Reference in a new issue