]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/rook: rename variable from all to _all 55255/head
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 22 Jan 2024 18:37:24 +0000 (13:37 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 24 Jan 2024 18:33:29 +0000 (13:33 -0500)
commita450820b474338e5f5ac19c593c73f5d2aa08557
tree943e8d1c8b21f2c1789dcf234e46a7bb394d52ce
parent90f9a98c8cdbff957414ee7952b4632a2d387bb8
pybind/mgr/rook: rename variable from all to _all

Every time I looked at these functions my brain would be thrown off by
`all or ...` as I see all as the builtin function `all`:
    https://docs.python.org/3/library/functions.html#all

Rename `all` so that it avoids shadowing the function `all` and avoid
some confusion for people like me.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/rook/rook_cluster.py