]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: make UpgradeState from_json a bit safer
authorAdam King <adking@redhat.com>
Fri, 1 Apr 2022 12:20:28 +0000 (08:20 -0400)
committerAdam King <adking@redhat.com>
Sat, 21 May 2022 23:18:24 +0000 (19:18 -0400)
commitfdd6a080f79e3a9ad70bb73803e46ba2047d023e
treeeed3fa76221bdc7a87cfb309a7cf44eb3ef09577
parent490b63c27b513af4135a04cefd4483d82b67f3c7
mgr/cephadm: make UpgradeState from_json a bit safer

This way, for downgrades to whatever versions
this lands in onward, having added new parameters to
UpgradeState shouldn't break anything. Can't do much
about downgrades to older versions from this one
but this should help in the future.

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