HomeClusterLabs Projects

Low: controller: Remove CRM_CHECK in update_dc for no current DC

Description

Low: controller: Remove CRM_CHECK in update_dc for no current DC

Since invalid is true and dc_name is NULL, we know that:

  1. We are the (a) DC, and
  2. The welcome_from node isn't us.

At that point, we might as well just log the if (AM_I_DC) message and
forget about logging the "We have no DC" message. It isn't really
relevant to the flow here.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Nov 16 2022, 6:08 PM
Parents
rP1e0bf5105ded: Refactor: controller: Make controld_matrix.h a C file
Branches
Unknown
Tags
Unknown