Skip to content

Commit

Permalink
Merge pull request #6831 from easy-mj/feature/mj-r-master-4907_v5
Browse files Browse the repository at this point in the history
fix(v3.11): 调整v2v迁移网络VPC去掉default限制
  • Loading branch information
easy-mj authored Jun 27, 2024
2 parents df4223a + 08ad8a6 commit 602761e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions containers/Compute/views/vminstance/dialogs/V2vTransfer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
:schedtag-params="resourcesParams.schedtag"
:vpcResource="vpcResource"
:networkVpcParams="resourcesParams.vpcParams"
:vpcResourceMapper="vpcResourceMapper"
:showMacConfig="firstData.hypervisor === 'kvm'"
:showDeviceConfig="firstData.hypervisor === 'kvm'"
:isDialog="true"
Expand Down Expand Up @@ -558,12 +557,6 @@ export default {
}
})
},
vpcResourceMapper (list) {
if (this.firstData.hypervisor === HYPERVISORS_MAP.esxi.key) {
return list.filter(val => val.id === 'default')
}
return list
},
networkResourceMapper (list) {
return list
.map(val => {
Expand Down

0 comments on commit 602761e

Please sign in to comment.