]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-common: fix PlacementSpec target size method 39979/head
authorSage Weil <sage@newdream.net>
Wed, 10 Mar 2021 22:27:28 +0000 (17:27 -0500)
committerSage Weil <sage@newdream.net>
Wed, 10 Mar 2021 22:36:38 +0000 (17:36 -0500)
commit2904c5ece0e6d3cabaf16b2e977bdcdf5d8f68dd
treeb9a82d2f71bbb7c4e8a54debe26bc18b5c78b1f1
parentc7e0fb1e8e7cb06097c23d9e1643b6ba852f0eb0
python-common: fix PlacementSpec target size method

- Rename get_host_selection_size() to get_target_size() since the host
  part of the name was a bit misleading
- Take count-per-host into consideration.

Signed-off-by: Sage Weil <sage@newdream.net>
src/pybind/mgr/cephadm/module.py
src/python-common/ceph/deployment/service_spec.py
src/python-common/ceph/tests/test_service_spec.py