Code Review
/
doctor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
DevStack support
[doctor.git]
/
doctor_tests
/
installer
/
common
/
set_compute_config.py
diff --git
a/doctor_tests/installer/common/set_compute_config.py
b/doctor_tests/installer/common/set_compute_config.py
index
76ac649
..
615f189
100644
(file)
--- a/
doctor_tests/installer/common/set_compute_config.py
+++ b/
doctor_tests/installer/common/set_compute_config.py
@@
-26,9
+26,9
@@
def set_cpu_allocation_ratio():
found_list = ([ca for ca in fcheck.readlines() if "cpu_allocation_ratio"
in ca])
fcheck.close()
found_list = ([ca for ca in fcheck.readlines() if "cpu_allocation_ratio"
in ca])
fcheck.close()
+ change = False
+ found = False
if found_list and len(found_list):
if found_list and len(found_list):
- change = False
- found = False
for car in found_list:
if car.startswith('#'):
continue
for car in found_list:
if car.startswith('#'):
continue