Merge branch 'BANS-248' into 'rc-5.2.6'

Fix incorrect access to MIN_IOPS variable in DecortController.disk_check_iotune_arg method

See merge request rudecs/dev/decort-ansible!33
This commit is contained in:
2024-05-22 15:03:08 +00:00

View File

@@ -2755,7 +2755,7 @@ class DecortController(object):
"write_iops_sec_max",
"size_iops_sec",
):
if val and val < self.MIN_IOPS:
if val and val < MIN_IOPS:
self.result['msg'] = (f"{arg} was set below the minimum iops {MIN_IOPS}: {val} provided")
return