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

(cherry picked from commit 0ef4ff65ccc71bcbefaede35c0334ca5325964e0)

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
parent 342a82c8e0
commit 264d65cc6d
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,
});