]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-common: add int value validation for count and count_per_host
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 8 Dec 2021 20:33:54 +0000 (15:33 -0500)
committerSebastian Wagner <sewagner@redhat.com>
Tue, 11 Jan 2022 12:23:03 +0000 (13:23 +0100)
commit2c38ea578b76f302d3eb839a83cce2598e97cf48
treec9f008f3d215decffaee466771eeeeea7e0a69d0
parent24e18cd04eeb9a4d111bcb1511987420e029bd3c
python-common: add int value validation for count and count_per_host

Add additional validation for the count and count_per_host fields
sourced from YAML.

Fixes: https://tracker.ceph.com/issues/50524
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit a9ad2a50fe83ea3342b7c1bbcfb942789e965cb4)
src/python-common/ceph/deployment/service_spec.py