for _, pdbitem := range lrpdbList.Items {
if (pdbitem.Spec.CDBName == lrest.Spec.LRESTName) && Bit(pdbitem.Status.PDBBitMask, PDBCRT) == true {
InTheList := SearchElementInDbList2(pdbitem.Spec.LRPDBName, ndata)
log.Info("PDB " + pdbitem.Spec.LRPDBName + " has been dropped manually dropping the CRD") <---- Line 1665
if InTheList == false {
err := r.DeleteCRDPdb(ctx, req, &pdbitem, lrest)
log.Error(err, "Cannot delete crd ")
}
}
}
Message should be in the inner "if" block.... only if InListVariable is false the CRD will be dropped
lrest controller : Find a misleading message at line 1665
Message should be in the inner "if" block.... only if InListVariable is false the CRD will be dropped