Merge branch 'fix/rc-5.2.6/decort_utils.py_compute_resize' into 'rc-5.2.6'
Remove new_ram value conversion from GB to MB See merge request rudecs/dev/decort-ansible!9
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user