Skip to content

Commit

Permalink
Merge pull request #851 from dmuhamedagic/avoid_systemd
Browse files Browse the repository at this point in the history
Medium: ra: performance/usability improvement (avoid systemd)
  • Loading branch information
liangxin1300 authored Jul 28, 2021
2 parents 3de6f30 + a6fa123 commit 8029db2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crmsh/ra.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def can_use_lrmadmin():

@utils.memoize
def can_use_crm_resource():
_rc, s = get_stdout("crm_resource --list-standards", stderr_on=False)
_rc, s = get_stdout("crm_resource --list-ocf-providers", stderr_on=False)
return s != ""


Expand Down
2 changes: 1 addition & 1 deletion test/testcases/common.excl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Error setting s1=1 2 3 \(section=status, set=status-node1\): The object/attribut
Error signing on to the CRMd service
Error connecting to the controller
Error performing operation: Transport endpoint is not connected
.EXT crm_resource --list-standards
.EXT crm_resource --list-ocf-providers
.EXT crm_resource --list-ocf-alternatives Delay
.EXT crm_resource --list-ocf-alternatives Dummy
^\.EXT crmd version
Expand Down

0 comments on commit 8029db2

Please sign in to comment.