We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f5c642 + 59b074b commit f3f6bf2Copy full SHA for f3f6bf2
MongoBackup/Replset.py
@@ -36,7 +36,7 @@ def get_rs_status(self):
36
37
def get_rs_config(self):
38
try:
39
- if self.db.server_version() >= tuple("2.6.0".split(".")):
+ if self.db.server_version() >= tuple("3.0.0".split(".")):
40
output = self.db.admin_command('replSetGetConfig')
41
return output['config']
42
else:
0 commit comments