mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Update mongo_return.py
This commit is contained in:
parent
30d07cbb27
commit
f796c9a44b
@ -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…
Reference in New Issue
Block a user