Skip to content

Commit

Permalink
Merge pull request #6763 from GuoLiBin6/fix/glb-to-3.11/network
Browse files Browse the repository at this point in the history
fix(v3.11/9952): onecloud 平台创建ssh代理节点请求cloudregions参数错误
  • Loading branch information
easy-mj committed Jun 21, 2024
2 parents b10af42 + e53359b commit f57d4e7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions containers/Network/views/ssh-proxy/form/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
:names="areaselectsName"
:cloudregionParams="renderOrders.region.params"
:providerParams="renderOrders.brand.params"
:cloudregionParamsMapper="cloudregionParamsMapper"
filterBrandResource="compute_engine" />
<a-form-item :label="$t('cloudenv.text_7')">
<a-row :gutter="9">
Expand Down Expand Up @@ -399,6 +400,13 @@ export default {
}
}
},
cloudregionParamsMapper (params) {
const ret = { ...params }
if (ret.provider === 'OneCloud') {
delete ret.capability
}
return ret
},
handleCancel () {
this.$router.push('/ssh-proxy')
},
Expand Down

0 comments on commit f57d4e7

Please sign in to comment.