HomeClusterLabs Projects

Refactor: libcrmservice: Improve error checks in systemd_service_name()

Description

Refactor: libcrmservice: Improve error checks in systemd_service_name()

Use crm_strdup_printf() and pcmk__str_copy() to assert on error. Also
rename to systemd_unit_name(), since we handle other unit types.

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

Details

Provenance
nrwahl2Authored on Thu, Feb 27, 5:12 AM
Parents
rP162b479221b4: Merge pull request #3820 from clumens/final-pylint
Branches
Unknown
Tags
Unknown