HomeClusterLabs Projects

Refactor: python: Improve startonebyone.py.

Description

Refactor: python: Improve startonebyone.py.

  • Disable pylint warnings we can't really do anything about.
  • Get rid of the unused ns variable. The ClusterManager object cares about NodeStatus, but this individual test does not. This seems like a leftover from a previous refactoring.
  • Rename stopall to _stopall. This is a private attribute, so name it like one.
  • Simplify how the failed list is checked.

Details

Provenance
clumensAuthored on May 24 2023, 4:30 PM
Parents
rPd8cf646d5c73: Refactor: python: Improve comments and whitespace in startonebyone.py.
Branches
Unknown
Tags
Unknown