mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add removed code
This commit is contained in:
parent
a7b40e5947
commit
7d6e441ca9
1 changed files with 3 additions and 0 deletions
|
@ -1073,6 +1073,9 @@ class RemoteClient(Client):
|
|||
"""
|
||||
Reset the channel, in the event of an interruption
|
||||
"""
|
||||
# Close the previous channel
|
||||
self.channel.close()
|
||||
# Instantiate a new one
|
||||
self.channel = salt.transport.client.ReqChannel.factory(self.opts)
|
||||
return self.channel
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue