Modify nested_level from dict to integer

In function create_nested_snapshots_and_attach_volume, nested_level's
default value is 1, and it is used to operate with an integer
(for i in range(nested_level - 1):).

Change-Id: I4879d7cdcb5a56b83a1415c4a8fc427241ddc913
Closes-Bug: #1594656
This commit is contained in:
Lv Fumei 2016-06-21 11:47:28 +08:00
parent 81223a72d4
commit 331d0975a8
2 changed files with 2 additions and 7 deletions

View File

@ -7,10 +7,7 @@
"min": 1,
"max": 5
},
"nested_level": {
"min": 5,
"max": 10
}
"nested_level": 5
},
"runner": {
"type": "constant",

View File

@ -6,9 +6,7 @@
size:
min: 1
max: 5
nested_level:
min: 5
max: 10
nested_level: 5
runner:
type: "constant"
times: 1