mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add a default for the subject
This commit is contained in:
parent
26479bee24
commit
17b8cd755f
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ def returner(ret):
|
|||
port = _options.get('port')
|
||||
user = _options.get('username')
|
||||
passwd = _options.get('password')
|
||||
subject = _options.get('subject')
|
||||
subject = _options.get('subject') or 'Email from Salt'
|
||||
gpgowner = _options.get('gpgowner')
|
||||
fields = _options.get('fields').split(',') if 'fields' in _options else []
|
||||
smtp_tls = _options.get('tls')
|
||||
|
|
Loading…
Add table
Reference in a new issue