Skip to content

Commit dd30153

Browse files
authored
Merge pull request #319 from sych74/master
JE-66576
2 parents 867f2e8 + f39a25d commit dd30153

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

addons/promote-new-primary/scripts/promote-master.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ function promoteNewPrimary() {
6969
resp = this.restoreNodes();
7070
if (resp.result != 0) return resp;
7171

72-
resp = this.addNode();
73-
if (resp.result != 0) return resp;
74-
7572
resp = this.removeFailedPrimary();
7673
if (resp.result != 0) return resp;
74+
75+
resp = this.addNode();
76+
if (resp.result != 0) return resp;
7777

7878
if (!this.getAddOnType()) {
7979
resp = this.addIteration(true);

0 commit comments

Comments
 (0)