HomeClusterLabs Projects

Low: resources: use ocf_is_true in SysInfo

Description

Low: resources: use ocf_is_true in SysInfo

The previous shell test was missing backslashes (found by static analysis).

ocf_is_true doesn't behave identically to libcrmcommon's crm_is_true() function
used by pacemaker, but it's better to use it to avoid code duplication and
divergence.

Also use quotes liberally.

Details

Provenance
kgaillotAuthored on Jul 19 2018, 1:01 PM
Parents
rP3cf2a0bb6158: Refactor: resources: remove unused variables in ClusterMon
Branches
Unknown
Tags
Unknown

Event Timeline