mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00: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:
@@ -232,6 +232,7 @@ class Connection(ConnectionBase):
|
|||||||
self.protocol.cleanup_command(self.shell_id, command_id)
|
self.protocol.cleanup_command(self.shell_id, command_id)
|
||||||
|
|
||||||
def _connect(self):
|
def _connect(self):
|
||||||
|
super(Connection, self)._connect()
|
||||||
if not self.protocol:
|
if not self.protocol:
|
||||||
self.protocol = self._winrm_connect()
|
self.protocol = self._winrm_connect()
|
||||||
self._connected = True
|
self._connected = True
|
||||||
|
|||||||
Reference in New Issue
Block a user