]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-common: fix PlacementSpec target size method
authorSage Weil <sage@newdream.net>
Wed, 10 Mar 2021 22:27:28 +0000 (17:27 -0500)
committerSage Weil <sage@newdream.net>
Tue, 16 Mar 2021 12:56:18 +0000 (07:56 -0500)
commit0aca9e22fa83e228c88ab23d58140e911e2a8a55
tree0cad54c13b42817eff5ec803652e785fb1a4970b
parent931a454673fc3249726fb7784affa57533fdada4
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>
(cherry picked from commit 2904c5ece0e6d3cabaf16b2e977bdcdf5d8f68dd)
src/pybind/mgr/cephadm/module.py
src/python-common/ceph/deployment/service_spec.py
src/python-common/ceph/tests/test_service_spec.py