Commit cc958a5b authored by Bernd Lietzow's avatar Bernd Lietzow 🐨

mgmtd: use mirror group ID for switchover

(cherry picked from commit 56321e363c6d9a845ed35b3e8db47f3ea22e2ed7)
parent 7469e03f
......@@ -492,7 +492,7 @@ UInt16Vector MgmtdTargetStateStore::findPrimaryResync()
StringTk::uintToStr(mirrorGroupID) + " needs a resync. "
"Switching primary/secondary.");
groupsToSwitch.push_back(primaryTargetID);
groupsToSwitch.push_back(mirrorGroupID);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment