]> git.apps.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 22:06:34 +0000 (18:06 -0400)
commit412bd3b20b3953d630b2ec8cf51a6b69bcda30a6
treec835065df47be3fcf0a1fbe3e6db953b8ee66435
parent07ccf07a2853d4f93e83f38da5c54fda2a534376
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