mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user