]> 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>
Thu, 19 May 2022 21:24:56 +0000 (17:24 -0400)
commitaeaa0b5fd87068a31bfa61dd088c49affce42419
treeae868ead25cb38186f7e0bf069a7e6cd36d4bcf1
parente6b0fe0e4859f83ca69d14d89f9e47f0ea74e770
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>
src/pybind/mgr/cephadm/upgrade.py