HomeClusterLabs Projects

Log: libcrmcluster: avoid redundant log for invalid CPG messages

Description

Log: libcrmcluster: avoid redundant log for invalid CPG messages

Previously, check_message_sanity() was called separately for
uncompressed and compressed data; now, move the check up to reduce
duplication.

Also, don't log an error if it fails, since it already logs errors.

Details

Provenance
kgaillotAuthored on Thu, Dec 5, 5:37 PM
Parents
rP2a8a292338eb: Low: libcrmcluster: initialize from in pcmk__cpg_message_data()
Branches
Unknown
Tags
Unknown