Skip to content

Commit e7679c9

Browse files
NavidHtNavid Hassantabar
andauthored
Fix detecting change of secondaryDelaySecs in replicaset configuration (#722)
Co-authored-by: Navid Hassantabar <[email protected]>
1 parent eba0cdf commit e7679c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/module_utils/mongodb_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def member_dicts_different(conf, member_config):
400400
"priority": {"nonarbiter": 1.0, "arbiter": 0},
401401
"tags": {},
402402
"horizons": {},
403-
"secondardDelaySecs": 0,
403+
"secondaryDelaySecs": 0,
404404
"votes": 1
405405
}
406406
different = False

tests/unit/test_module_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class TestMongoDBCommonMethods(unittest.TestCase):
6363
"priority": 1,
6464
"tags": {},
6565
"horizons": {},
66-
"secondardDelaySecs": 0,
66+
"secondaryDelaySecs": 0,
6767
"votes": 1
6868
}
6969

0 commit comments

Comments
 (0)