HomeClusterLabs Projects

Fix: fencing: log all peers' results consistently

Description

Fix: fencing: log all peers' results consistently

This refactor functionizes adding one peer's results to an operation's result
list, mainly for readability (especially after more code is added for remapping
reboot to off+on).

It does make one exceedingly trivial logging improvement. Previously, peers
that reported no devices were handled separately. Now, the addition of the
result is conditional on there being devices, so otherwise all results go
through the same logic and get the same log messages.

Details

Provenance
kgaillotAuthored on Jul 1 2015, 2:59 PM
Parents
rP9aedd50f51b5: Refactor: fencing: functionize adding one device's properties to peer result
Branches
Unknown
Tags
Unknown

Event Timeline