diff --git a/module_utils/decort_utils.py b/module_utils/decort_utils.py index 70c2765..b11c299 100644 --- a/module_utils/decort_utils.py +++ b/module_utils/decort_utils.py @@ -1102,10 +1102,6 @@ class DecortController(object): elif not new_ram: new_ram = comp_dict['ram'] - # stupid hack? - if new_ram > 1 and new_ram < 512: - new_ram = new_ram * 1024 - if comp_dict['cpus'] == new_cpu and comp_dict['ram'] == new_ram: # no need to call API in this case, as requested size is not different from the current one self.result['failed'] = False