Skip to content

Commit b713d7d

Browse files
Fix quotes
1 parent 291b786 commit b713d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongodb_consistent_backup/Backup/Mongodump/MongodumpThread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def mongodump_cmd(self):
156156
if self.is_version_gte("3.2.0"):
157157
read_pref = self.parse_read_pref()
158158
if read_pref:
159-
mongodump_flags.append("--readPreference='%s'" % read_pref)
159+
mongodump_flags.append("--readPreference=%s" % read_pref)
160160
elif self.read_pref_tags:
161161
logging.fatal("Mongodump must be >= 3.4.0 to set read preference!")
162162
sys.exit(1)

0 commit comments

Comments
 (0)