Skip to content

Commit

Permalink
Merge branch '2015.8' into '2016.3'
Browse files Browse the repository at this point in the history
No conflicts.
  • Loading branch information
rallytime committed Jul 19, 2016
2 parents c3ae64c + 5802103 commit 3e032dc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions salt/returners/mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,11 @@ def returner(ret):
'''
Return data to a mysql server
'''
# if a minion is returning a standalone job, get a jobid
if ret['jid'] == 'req':
ret['jid'] = prep_jid(nocache=ret.get('nocache', False))
save_load(ret['jid'], ret)

try:
with _get_serv(ret, commit=True) as cur:
sql = '''INSERT INTO `salt_returns`
Expand Down
3 changes: 2 additions & 1 deletion salt/utils/dictupdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ def update(dest, upd, recursive_update=True, merge_lists=False):
return dest
else:
try:
dest.update(upd)
for k in upd.keys():
dest[k] = upd[k]
except AttributeError:
# this mapping is not a dict
for k in upd:
Expand Down
1 change: 1 addition & 0 deletions tests/integration/netapi/rest_tornado/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ def get_app(self):
application.event_listener = saltnado.EventListener({}, self.opts)
return application

@skipIf(True, 'issue #34753')
def test_get_no_mid(self):
response = self.fetch('/minions',
method='GET',
Expand Down

0 comments on commit 3e032dc

Please sign in to comment.