projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move FillDict at module level
[ganeti-local]
/
qa
/
qa_config.py
diff --git
a/qa/qa_config.py
b/qa/qa_config.py
index
13d857f
..
4afe253
100644
(file)
--- a/
qa/qa_config.py
+++ b/
qa/qa_config.py
@@
-53,6
+53,9
@@
def Validate():
raise qa_error.Error("Need at least one node")
if len(cfg['instances']) < 1:
raise qa_error.Error("Need at least one instance")
raise qa_error.Error("Need at least one node")
if len(cfg['instances']) < 1:
raise qa_error.Error("Need at least one instance")
+ if len(cfg["disk"]) != len(cfg["disk-growth"]):
+ raise qa_error.Error("Config options 'disk' and 'disk-growth' must have"
+ " the same number of items")
def get(name, default=None):
def get(name, default=None):