Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecated warning about using safe parameter (mongo v2.4.6) #126

Open
DerManoMann opened this issue Jun 11, 2014 · 0 comments
Open

deprecated warning about using safe parameter (mongo v2.4.6) #126

DerManoMann opened this issue Jun 11, 2014 · 0 comments

Comments

@DerManoMann
Copy link

/usr/lib64/nagios/plugins/check_mongodb.py:1187: DeprecationWarning: The safe parameter is deprecated. Please use write concern options instead.
db.last_primary_server.update({"_id": "last_primary"}, {"$set": last_primary_server_record}, upsert=True, safe=True)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant