mirror of https://github.com/rancher/dashboard.git
Try again
This commit is contained in:
parent
2d8b669ca6
commit
eccb09bfeb
|
|
@ -737,8 +737,8 @@ export default {
|
|||
const defaultRegistry = this.defaultRegistrySetting?.value || '';
|
||||
const serverUrl = this.serverUrlSetting?.value || '';
|
||||
const isWindows = cluster.providerOs === 'windows';
|
||||
const pathPrefix = cluster.spec?.rancherKubernetesEngineConfig?.pathPrefix || '';
|
||||
const windowsPathPrefix = cluster.spec?.rancherKubernetesEngineConfig?.winPathPrefix || '';
|
||||
const pathPrefix = cluster.spec?.rancherKubernetesEngineConfig?.prefixPath || '';
|
||||
const windowsPathPrefix = cluster.spec?.rancherKubernetesEngineConfig?.winPrefixPath || '';
|
||||
|
||||
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.spec?.rancherKubernetesEngineConfig?.pathPrefix || '';
|
||||
const windowsPathPrefix = cluster.spec?.rancherKubernetesEngineConfig?.winPathPrefix || '';
|
||||
const pathPrefix = cluster.spec?.rancherKubernetesEngineConfig?.prefixPath || '';
|
||||
const windowsPathPrefix = cluster.spec?.rancherKubernetesEngineConfig?.winPrefixPath || '';
|
||||
|
||||
if ( values.global?.cattle ) {
|
||||
deleteIfEqual(values.global.cattle, 'clusterId', cluster.id);
|
||||
|
|
|
|||
Loading…
Reference in New Issue