Skip to content

Commit

Permalink
ceph_ec_profile: make int params str
Browse files Browse the repository at this point in the history
Ceph return them as string so in comparision it would always fail

Signed-off-by: Seena Fallah <[email protected]>
  • Loading branch information
clwluvw authored and guits committed Mar 16, 2024
1 parent bbc1ba5 commit f0b4cc3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions library/ceph_ec_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,11 @@ def run_module():
choices=['present', 'absent'], default='present'),
stripe_unit=dict(type='str', required=False),
plugin=dict(type='str', required=False, default='jerasure'),
k=dict(type='int', required=False),
m=dict(type='int', required=False),
d=dict(type='int', required=False),
l=dict(type='int', required=False),
c=dict(type='int', required=False),
k=dict(type='str', required=False),
m=dict(type='str', required=False),
d=dict(type='str', required=False),
l=dict(type='str', required=False),
c=dict(type='str', required=False),
scalar_mds=dict(type='str', required=False),
technique=dict(type='str', required=False),
crush_root=dict(type='str', required=False),
Expand Down

0 comments on commit f0b4cc3

Please sign in to comment.