projects
/
osm
/
vim-emu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
migration to python3 (#1)
[osm/vim-emu.git]
/
src
/
emuvim
/
dcemulator
/
resourcemodel
/
upb
/
simple.py
diff --git
a/src/emuvim/dcemulator/resourcemodel/upb/simple.py
b/src/emuvim/dcemulator/resourcemodel/upb/simple.py
index
01231fd
..
bc81f25
100755
(executable)
--- a/
src/emuvim/dcemulator/resourcemodel/upb/simple.py
+++ b/
src/emuvim/dcemulator/resourcemodel/upb/simple.py
@@
-141,7
+141,7
@@
class UpbSimpleCloudDcRM(BaseResourceModel):
We have to recalculate for all containers to allow e.g. over provisioning models.
:return:
"""
We have to recalculate for all containers to allow e.g. over provisioning models.
:return:
"""
- for d in self._allocated_compute_instances.
iter
values():
+ for d in self._allocated_compute_instances.values():
if not self.deactivate_cpu_limit:
self._apply_cpu_limits(d)
if not self.deactivate_mem_limit:
if not self.deactivate_cpu_limit:
self._apply_cpu_limits(d)
if not self.deactivate_mem_limit: