Commit 0e9f4d57 authored by Daniele Venzano's avatar Daniele Venzano

Fix bug in shm attribute qhen loading a service from the DB

parent eafb0a4e
......@@ -62,7 +62,7 @@ class ResourceReservation:
self.memory = ResourceLimits(data['memory'], "bytes")
self.cores = ResourceLimits(data['cores'], 'units')
if 'shm' in data:
self.shm = data['shm_size']
self.shm = data['shm']
else:
self.shm = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment