-
Guido Trotter authored
Currently unofflining or undraining an already functional master candidate node, can cause it to demote itself. In order to avoid that we only trigger the self-promotion check if the node is not currently a candidate. Signed-off-by: Guido Trotter <ultrotter@google.com> Reviewed-by: Iustin Pop <iustin@google.com>
cea0534a