mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Update mongo_return.py
This commit is contained in:
parent
912e567577
commit
977e55531b
@ -133,7 +133,7 @@ def _get_conn(ret):
|
|||||||
if user and password:
|
if user and password:
|
||||||
mdb.authenticate(user, password)
|
mdb.authenticate(user, password)
|
||||||
|
|
||||||
if indexes:
|
if indexes:
|
||||||
if float(version) > 2.3:
|
if float(version) > 2.3:
|
||||||
mdb.saltReturns.create_index('minion')
|
mdb.saltReturns.create_index('minion')
|
||||||
mdb.saltReturns.create_index('jid')
|
mdb.saltReturns.create_index('jid')
|
||||||
|
Loading…
Reference in New Issue
Block a user