Skip to content

Commit

Permalink
Fix: completers: deferring calls to crm_mon until envsetup() is calle…
Browse files Browse the repository at this point in the history
…d (bsc#1228271)
  • Loading branch information
nicholasyang2022 committed Aug 26, 2024
1 parent 7a736bb commit 131aa8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crmsh/completers.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def primitives(args):


nodes = call(xmlutil.listnodes)
online_nodes = call(xmlutil.CrmMonXmlParser().get_node_list, "online")
standby_nodes = call(xmlutil.CrmMonXmlParser().get_node_list, "standby")
online_nodes = call(lambda x: xmlutil.CrmMonXmlParser().get_node_list(x), "online")
standby_nodes = call(lambda x: xmlutil.CrmMonXmlParser().get_node_list(x), "standby")

shadows = call(xmlutil.listshadows)

Expand Down

0 comments on commit 131aa8b

Please sign in to comment.