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