mirror of https://github.com/rancher/ui.git
Fix registry issue
This commit is contained in:
parent
7fc6f081cb
commit
3aadeb1c87
|
|
@ -69,7 +69,7 @@ export default Component.extend(ClusterDriver, {
|
|||
set(this, 'initialVersion', get(this, 'cluster.rancherKubernetesEngineConfig.kubernetesVersion'));
|
||||
|
||||
const config = get(this, 'cluster.rancherKubernetesEngineConfig');
|
||||
if ( get(config, 'privateRegistries.length') > 0 ) {
|
||||
if ( config && get(config, 'privateRegistries.length') > 0 ) {
|
||||
const registry = get(config, 'privateRegistries.firstObject');
|
||||
set(this, 'registry', 'custom');
|
||||
set(this, 'registryUrl', get(registry, 'url'));
|
||||
|
|
|
|||
Loading…
Reference in New Issue