openmainframeproject / feilong

Feilong is a open source z/VM cloud connector project under the Open Mainframe Project umbrella that will accelerate the z/VM adoption, extending its ecosystem and its user experience. It provides a set of APIs to operate z/VM including guest, image, network, volume etc.
https://www.openmainframeproject.org/projects/feilong
Apache License 2.0
35 stars 70 forks source link

Fix issue: when the fcp count is different in differnt paths, raise IndexError #763

Closed xingjing-bj closed 10 months ago

xingjing-bj commented 10 months ago

For example, when the fcp template has 2 paths, and the first path has 2 FCP devices and the second has 1. When enable get_fcp_pair_with_same_index, will raise IndexError. This PR is to fix this issue.