HomeClusterLabs Projects

Refactor: libpe_status: Reduce duplication in container resource create

Description

Refactor: libpe_status: Reduce duplication in container resource create

Condense create_docker_resource(), create_podman_resource(), and
create_rkt_resource() into a single function called
create_container_resource().

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

Details

Provenance
nrwahl2Authored on Sep 25 2022, 9:55 PM
Parents
rPcbe2ae5fb72c: Refactor: libstonithd: g_string_*printf() -> pcmk__g_strcat()
Branches
Unknown
Tags
Unknown