mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
call base _connect() from winrm._connect()
without it, we don't get the base's free become method error check
This commit is contained in:
parent
a1a4a0f77e
commit
445a88d3e8
1 changed files with 1 additions and 0 deletions
|
@ -232,6 +232,7 @@ class Connection(ConnectionBase):
|
|||
self.protocol.cleanup_command(self.shell_id, command_id)
|
||||
|
||||
def _connect(self):
|
||||
super(Connection, self)._connect()
|
||||
if not self.protocol:
|
||||
self.protocol = self._winrm_connect()
|
||||
self._connected = True
|
||||
|
|
Loading…
Reference in a new issue