mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00: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:
@@ -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"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user