diff options
author | sayaleeraut <saraut@redhat.com> | 2020-02-13 10:49:17 +0530 |
---|---|---|
committer | Bala Konda Reddy M <bala12352@gmail.com> | 2020-02-14 03:47:54 +0000 |
commit | 58a71f32c632c433c2db2672bb21fb2781dfac87 (patch) | |
tree | dc6c181a0397ce623f0ce4972edd73b273b045c1 /glustolibs-gluster/glustolibs/gluster/snap_scheduler.py | |
parent | 7de00fc74625efe9a35d4a5ae1da02d9737b2763 (diff) |
[LibFix] Fix volume type check
Earlier the elements passed in list for volume type check were
('replicate', 'disperse', 'arbiter'), but as the volume type
returned by get_volume_type() will be in the format 'Replicate',
'Disperse', 'Arbiter' and lists are case sensitive, these changes
will make sure it does not change.
Change-Id: Ic73ca946cd9c06bfa5b92605dbeba74d6ffa83d9
Signed-off-by: sayaleeraut <saraut@redhat.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/snap_scheduler.py')
0 files changed, 0 insertions, 0 deletions