development: Fix bug of compatible system datastore (#2953)

This commit is contained in:
Christian González authored and Ruben S. Montero committed 2019-02-15 15:49:49 +01:00
1 parent 10d34ca7ac
commit 08538c8156
1 file changed
+1 -1
+1 -1
View File
@@ -1513,7 +1513,7 @@ static int get_datastore_requirements(Template *tmpl, set<int>& ds_ids,
// Get cluster id from all DISK vector attributes (IMAGE Datastore)
int num_vatts = tmpl->get("DISK",vatts);
for(int i=0; i<num_vatts; i++)
for(int i=0; i<num_vatts; i++, csystem_ds.clear())
{
int val;