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.
1 parent 86eec18 commit 6c66e6eCopy full SHA for 6c66e6e
mongodb_consistent_backup/Backup/Mongodump/MongodumpThread.py
@@ -157,7 +157,7 @@ def mongodump_cmd(self):
157
if self.is_version_gte("3.2.0"):
158
read_pref = self.parse_read_pref()
159
if read_pref:
160
- mongodump_flags.append("--readPreference='%s'" % read_pref)
+ mongodump_flags.append("--readPreference=%s" % read_pref)
161
elif self.read_pref_tags:
162
logging.fatal("Mongodump must be >= 3.2.0 to set read preference!")
163
sys.exit(1)
0 commit comments