]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/rbd_support: cast pool_id from int to str when collecting LevelSpec
authorSunny Kumar <sunkumar@redhat.com>
Thu, 24 Feb 2022 16:07:39 +0000 (16:07 +0000)
committerSunny Kumar <sunkumar@redhat.com>
Thu, 24 Feb 2022 17:39:17 +0000 (17:39 +0000)
commit05f2cfd9b5fdd34afc7f65685e57024dc183619f
tree6c54ce00e5dc487749c8abed2aee07f487c2a967
parent0853e6b2c93c33f4d3860d13a5c473941f6e74f6
mgr/rbd_support: cast pool_id from int to str when collecting LevelSpec

While collecting LevelSpec using class method from_name make sure to cast
pool_id from int to string. This is necessary to match the internal
representation of LevelSpec where pool_id is maintained as str.

Fixes: https://tracker.ceph.com/issues/53915
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
src/pybind/mgr/rbd_support/schedule.py