]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: use enum for tracking redeploy/reconfig
authorAdam King <adking@redhat.com>
Wed, 31 May 2023 23:38:38 +0000 (19:38 -0400)
committerAdam King <adking@redhat.com>
Thu, 31 Aug 2023 17:35:13 +0000 (13:35 -0400)
commit7e4f8acb4dfccf70b848f1d749ba892b1bad6cfb
treec4d5d6cfa9aa779ec9439b3389fec2584fb34f3d
parent238d2026b262a5327b80a2c9339a003fba1a328a
cephadm: use enum for tracking redeploy/reconfig

Since the options are mutually exclusive, using
an enum is preferable to having multiple bools
to track each of them

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 7081759d48f4e9f21a6482c2f32446d9b1f895ea)
src/cephadm/cephadm.py