HomeClusterLabs Projects

Log: controller: use sensible message for poke of disconnected executor

Description

Log: controller: use sensible message for poke of disconnected executor

Callers of lrm_state_poke_connection() interpret the result as a legacy return
code, but it would previously return -1 if the executor connection was
inactive, potentially leading to a nonsense error message. Now, return
-ENOTCONN in that situation.

Details

Provenance
kgaillotAuthored on Jun 2 2021, 12:52 PM
Parents
rP83ae62d31bf7: Log: controller: improve messages for remote executor connection failure
Branches
Unknown
Tags
Unknown

Event Timeline