Skip to content

Commit

Permalink
Merge pull request #6872 from GuoLiBin6/automated-cherry-pick-of-#686…
Browse files Browse the repository at this point in the history
…9-upstream-master

Automated cherry pick of #6869: fix: 虚拟机调整配置适配disk_type=swap的数据盘展示
  • Loading branch information
GuoLiBin6 committed Jul 3, 2024
2 parents 58ecf1e + c4ac8c4 commit 2f47ba5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ export default {
}
}
const dataDisks = this.selectedItem.disks_info.filter(item => item.disk_type === 'data')
const dataDisks = this.selectedItem.disks_info.filter(item => item.disk_type === 'data' || item.disk_type === 'swap')
const { medium_type: dataDiskMedium } = dataDisks[0] || {}
if ([HYPERVISORS_MAP.esxi.key].includes(this.hypervisor)) {
if (this.selectedItem.cpu_sockets) {
Expand Down

0 comments on commit 2f47ba5

Please sign in to comment.