mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 19:01:26 -07:00
minor updates to network connection plugins (#23043)
* removes unused log() function in network_cli * adds method comments to terminal plugin base
This commit is contained in:
parent
c0db6d79f6
commit
768cb437ab
2 changed files with 31 additions and 4 deletions
|
@ -58,10 +58,6 @@ class Connection(_Connection):
|
|||
if play_context.verbosity > 3:
|
||||
logging.getLogger('paramiko').setLevel(logging.DEBUG)
|
||||
|
||||
def log(self, msg):
|
||||
msg = 'h=%s u=%s %s' % (self._play_context.remote_addr, self._play_context.remote_user, msg)
|
||||
logger.debug(msg)
|
||||
|
||||
def update_play_context(self, play_context):
|
||||
"""Updates the play context information for the connection"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue