HomeClusterLabs Projects

Fix: libcrmcommon: allow crm_attribute to try OCF_RESOURCE_INSTANCE environment…

Description

Fix: libcrmcommon: allow crm_attribute to try OCF_RESOURCE_INSTANCE environment variable if -p is specified with an empty string

, rather than set/get a meaningless promotion score. And in case
OCF_RESOURCE_INSTANCE is also an empty string, return usage error.

Details

Provenance
gao-yanAuthored on Mar 20 2023, 9:05 AM
Parents
rPcc2e382e3658: Test: cts-cli: add tests for crm_attribute -p or OCF_RESOURCE_INSTANCE…
Branches
Unknown
Tags
Unknown