From 2d8b669ca61d626bf65dc4addfdf988368410a4b Mon Sep 17 00:00:00 2001 From: Vincent Fiduccia Date: Fri, 30 Apr 2021 16:17:24 -0700 Subject: [PATCH] windowsPathPrefix -> winPathPrefix --- pages/c/_cluster/apps/install.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/c/_cluster/apps/install.vue b/pages/c/_cluster/apps/install.vue index 0d931902c8..4e552a28af 100644 --- a/pages/c/_cluster/apps/install.vue +++ b/pages/c/_cluster/apps/install.vue @@ -737,8 +737,8 @@ export default { const defaultRegistry = this.defaultRegistrySetting?.value || ''; const serverUrl = this.serverUrlSetting?.value || ''; const isWindows = cluster.providerOs === 'windows'; - const pathPrefix = cluster.rancherKubernetesEngineConfig?.pathPrefix || ''; - const windowsPathPrefix = cluster.rancherKubernetesEngineConfig?.windowsPathPrefix || ''; + const pathPrefix = cluster.spec?.rancherKubernetesEngineConfig?.pathPrefix || ''; + const windowsPathPrefix = cluster.spec?.rancherKubernetesEngineConfig?.winPathPrefix || ''; setIfNotSet(cattle, 'clusterId', cluster.id); setIfNotSet(cattle, 'clusterName', cluster.nameDisplay); @@ -770,8 +770,8 @@ export default { const defaultRegistry = this.defaultRegistrySetting?.value || ''; const serverUrl = this.serverUrlSetting?.value || ''; const isWindows = cluster.providerOs === 'windows'; - const pathPrefix = cluster.rancherKubernetesEngineConfig?.pathPrefix || ''; - const windowsPathPrefix = cluster.rancherKubernetesEngineConfig?.windowsPathPrefix || ''; + const pathPrefix = cluster.spec?.rancherKubernetesEngineConfig?.pathPrefix || ''; + const windowsPathPrefix = cluster.spec?.rancherKubernetesEngineConfig?.winPathPrefix || ''; if ( values.global?.cattle ) { deleteIfEqual(values.global.cattle, 'clusterId', cluster.id);