From 4bce8bb56df0bba16303eb73335d71f15d740dc5 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 12 May 2024 14:35:53 +0800 Subject: [PATCH] Update index.py --- plugins/mongodb/index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/mongodb/index.py b/plugins/mongodb/index.py index dd8bb0a78..d922635fb 100755 --- a/plugins/mongodb/index.py +++ b/plugins/mongodb/index.py @@ -518,6 +518,7 @@ def runReplInfo(): result['members'] = [] try: + members_list = [] replStatus = db.command('replSetGetStatus') if 'members' in replStatus: members = replStatus['members']