mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Adding some quick documention about why we are setting ret=True following the channel.send.
This commit is contained in:
parent
bf78f4b188
commit
fab25af1a9
1 changed files with 2 additions and 0 deletions
|
@ -84,6 +84,8 @@ def fire_master(data, tag, preload=None):
|
|||
channel = salt.transport.Channel.factory(__opts__, master_uri=master)
|
||||
try:
|
||||
channel.send(load)
|
||||
# channel.send was successful.
|
||||
# Ensure ret is True.
|
||||
ret = True
|
||||
except Exception:
|
||||
ret = False
|
||||
|
|
Loading…
Add table
Reference in a new issue