remove new_ram value conversion from GB to MB

rc-5.3.0^2
Dmitriy Smirnov 11 months ago
parent f2e9b550bb
commit 1c6b46c535

@ -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

Loading…
Cancel
Save