ceph_ec_profile: make int params str

Ceph return them as string so in comparision it would always fail

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit f0b4cc3f0d)
pull/7519/head
Seena Fallah 2024-03-16 16:43:28 +01:00
parent 1b58c3ebac
commit ed96fa1465
1 changed files with 5 additions and 5 deletions

View File

@ -174,11 +174,11 @@ def run_module():
choices=['present', 'absent'], default='present'), choices=['present', 'absent'], default='present'),
stripe_unit=dict(type='str', required=False), stripe_unit=dict(type='str', required=False),
plugin=dict(type='str', required=False, default='jerasure'), plugin=dict(type='str', required=False, default='jerasure'),
k=dict(type='int', required=False), k=dict(type='str', required=False),
m=dict(type='int', required=False), m=dict(type='str', required=False),
d=dict(type='int', required=False), d=dict(type='str', required=False),
l=dict(type='int', required=False), l=dict(type='str', required=False),
c=dict(type='int', required=False), c=dict(type='str', required=False),
scalar_mds=dict(type='str', required=False), scalar_mds=dict(type='str', required=False),
technique=dict(type='str', required=False), technique=dict(type='str', required=False),
crush_root=dict(type='str', required=False), crush_root=dict(type='str', required=False),