HomeClusterLabs Projects

Refactor: python: Improve the WaitForNodeToComeUp method.

Description

Refactor: python: Improve the WaitForNodeToComeUp method.

  • Rename to wait_for_node.
  • Improve the docstring.
  • Remove unnecessary parens around a conditional.
  • Rename Timeout to timeout.
  • Return True instead of 1, and actually return False at the end.

Details

Provenance
clumensAuthored on Apr 6 2023, 10:56 AM
Parents
rP952a95d60794: Refactor: python: Rename two methods in the NodeStatus class.
Branches
Unknown
Tags
Unknown