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

(cherry picked from commit 0ef4ff65cc)

Signed-off-by: Nick Chung <nick.chung@suse.com>
Co-authored-by: Nick Chung <Nick.Chung@suse.com>
This commit is contained in:
mergify[bot]
2025-07-03 16:59:13 +08:00
committed by GitHub
co-authored by Nick Chung
parent 342a82c8e0
commit 264d65cc6d
@@ -73,8 +73,10 @@ export default {
data.spec.clusterNetwork = this.clusterNetwork; 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', { await this.$store.dispatch('harvester/request', {
url: `/v1/harvester/${ HCI.VLAN_CONFIG }s/${ data.id }`, url,
method: 'PUT', method: 'PUT',
data, data,
}); });