HomeClusterLabs Projects

Log: libcrmservice: improve logs when cleaning up an operation

Description

Log: libcrmservice: improve logs when cleaning up an operation

Previously, services_action_cleanup() got the sense of
dbus_pending_call_get_completed() wrong when logging a "did not complete"
message. It didn't really matter because the true case should never happen,
but this corrects it anyway.

This also slightly refactors to use services_set_op_pending() to clear the
pending call, to reduce code duplication, with the only real effect being to
log additional trace messages.

Details

Provenance
kgaillotAuthored on Jan 22 2019, 2:15 PM
Parents
rP42ff7282a7e6: Test: cts-exec-helper: allow multiple -V arguments
Branches
Unknown
Tags
Unknown

Event Timeline