From 83b82187f04f6140fae81ca417e212e237675e2a Mon Sep 17 00:00:00 2001 From: peusterm Date: Mon, 25 Apr 2016 11:15:55 +0200 Subject: [PATCH] Small cleanup --- src/emuvim/dcemulator/resourcemodel/upb/simple.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/emuvim/dcemulator/resourcemodel/upb/simple.py b/src/emuvim/dcemulator/resourcemodel/upb/simple.py index da76b96..3eab0e3 100644 --- a/src/emuvim/dcemulator/resourcemodel/upb/simple.py +++ b/src/emuvim/dcemulator/resourcemodel/upb/simple.py @@ -168,7 +168,6 @@ class UpbSimpleCloudDcRM(BaseResourceModel): # calculate amount of memory for a single mu self.single_mu = float(e_mem) / sum([rm.dc_max_mu for rm in list(self.registrar.resource_models)]) # calculate mem for given flavor - mem_limit = self.single_mu * number_mu mem_limit = self._calculate_mem_limit_value(mem_limit) # apply to container if changed if d.mem_limit != mem_limit: -- 2.25.1