mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update mongo_return.py
This commit is contained in:
parent
30d07cbb27
commit
f796c9a44b
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ def _get_conn(ret):
|
|||
if user and password:
|
||||
mdb.authenticate(user, password)
|
||||
|
||||
if indexes:
|
||||
if indexes:
|
||||
if float(version) > 2.3:
|
||||
mdb.saltReturns.create_index('minion')
|
||||
mdb.saltReturns.create_index('jid')
|
||||
|
|
Loading…
Add table
Reference in a new issue