Merge pull request #405 in YUNIONIO/onecloud from ~LIZEXI/onecloud:hotfix/lzx-resolve-conflict-2.3.0-20181101 to release/2.3.0

* commit 'f1fc6cfbb2e11efa684cc684f0b33e16ae352539':
  fix: region disk specs
This commit is contained in:
李泽玺
2018-11-01 17:13:09 +08:00
+2 -2
View File
@@ -660,8 +660,8 @@ func ConvertStorageInfo2BaremetalStorages(storageInfo jsonutils.JSONObject) []*b
return nil
}
ret := make([]*baremetal.BaremetalStorage, len(storages))
for i, s := range storages {
ret[i] = &s
for i := range storages {
ret[i] = &storages[i]
}
return ret
}