HomeClusterLabs Projects

Refactor: fencing: avoid duplicate variable for notification type

Description

Refactor: fencing: avoid duplicate variable for notification type

xml_to_event() previously checked for both F_SUBTYPE and F_STONITH_OPERATION in
the notification XML. For client notifications these will always be the same,
so just use one. (F_SUBTYPE can be "broadcast" in peer messages, but that is
not relevant to this usage.)

Details

Provenance
kgaillotAuthored on Mar 10 2022, 3:26 PM
Parents
rP42b8ecdeb632: Doc: controller: drop incorrect comment
Branches
Unknown
Tags
Unknown