windowsPathPrefix -> winPathPrefix

This commit is contained in:
Vincent Fiduccia 2021-04-30 16:17:24 -07:00
parent 0ac575524d
commit 2d8b669ca6
No known key found for this signature in database
GPG Key ID: 2B29AD6BB2BB2582
1 changed files with 4 additions and 4 deletions

View File

@ -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);