fix: can't migrate network config in Rancher integration (#371)

Signed-off-by: Nick Chung <nick.chung@suse.com>
This commit is contained in:
Nick Chung 2025-07-03 16:52:07 +08:00 committed by GitHub
parent cebb302730
commit 0ef4ff65cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,8 +73,10 @@ export default {
data.spec.clusterNetwork = this.clusterNetwork;
const url = this.$store.getters['harvester-common/getHarvesterClusterUrl'](`v1/harvester/${ HCI.VLAN_CONFIG }s/${ data.id }`);
await this.$store.dispatch('harvester/request', {
url: `/v1/harvester/${ HCI.VLAN_CONFIG }s/${ data.id }`,
url,
method: 'PUT',
data,
});