mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #51527 from garethgreenaway/bp-51475
Back-port PR #51475 to 2018.3
This commit is contained in:
commit
5e840a54ac
1 changed files with 1 additions and 2 deletions
|
@ -225,8 +225,7 @@ def returner(ret):
|
|||
'functions', job_id, job_fun
|
||||
)
|
||||
return
|
||||
|
||||
if ret.get('return', None) is None:
|
||||
if ret.get('data', None) is None and ret.get('return') is None:
|
||||
log.info(
|
||||
'Won\'t push new data to Elasticsearch, job with jid=%s was '
|
||||
'not successful', job_id
|
||||
|
|
Loading…
Add table
Reference in a new issue