commit 6909080a77aab7a13ab5e9695e5665b25f2df4e9
Author: Felipe Reyes <email address hidden>
Date: Mon Feb 27 10:59:00 2023 -0300
Use get_property instead of get-property
hacluster uses the command "crm configure get-property <CMD>" to obtain
a property of the cluster, although "get-property" has been deprecated
in favor of "get_property", since crmsh-4.2.1 a warning is printed to
stdout[0] breaking the parsing.
# crm configure get-property maintenance-mode 2>/dev/null
WARNING: This command 'get-property' is deprecated, please use 'get_property'
INFO: "get-property" is accepted as "get_property"
true
Reviewed: https:/ /review. opendev. org/c/openstack /charm- hacluster/ +/875768 /opendev. org/openstack/ charm-hacluster /commit/ 6909080a77aab7a 13ab5e9695e5665 b25f2df4e9
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/jammy
commit 6909080a77aab7a 13ab5e9695e5665 b25f2df4e9
Author: Felipe Reyes <email address hidden>
Date: Mon Feb 27 10:59:00 2023 -0300
Use get_property instead of get-property
hacluster uses the command "crm configure get-property <CMD>" to obtain
a property of the cluster, although "get-property" has been deprecated
in favor of "get_property", since crmsh-4.2.1 a warning is printed to
stdout[0] breaking the parsing.
# crm configure get-property maintenance-mode 2>/dev/null
WARNING: This command 'get-property' is deprecated, please use 'get_property'
INFO: "get-property" is accepted as "get_property"
true
[0] https:/ /github. com/ClusterLabs /crmsh/ commit/ 86282af8e538913 8ddd204ed5bd935 8460219688
Change-Id: Id0ee9ab1873d14 dcd1c960001cdeb 8318f599ef5 cb2bddaadfd104e e0d4b5c92a)
Closes-Bug: #2008704
(cherry picked from commit 8446b38347c666e