HomeClusterLabs Projects

Refactor: libpacemaker, tools: Remove redundant stonith API cleanup code

Description

Refactor: libpacemaker, tools: Remove redundant stonith API cleanup code

stonith_api_delete() already performs a NULL-check, disconnects the
client, deletes notifications, etc. No need to explicitly do this before
calling it. It also is not worth functionizing
clean_up_fencing_connection() in crm_mon.c anymore.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Oct 15 2022, 5:34 PM
Parents
rP0a7fc244252c: Refactor: libstonith: Remove notifications in stonith_api_free()
Branches
Unknown
Tags
Unknown