Fix typo of private control plane property.

This commit is contained in:
jesse.millan 2021-07-29 16:36:22 -07:00
parent 1fd6d8d4d3
commit 259ca81c1f
No known key found for this signature in database
GPG Key ID: 9DD407A06EAC48A6
1 changed files with 4 additions and 4 deletions

View File

@ -239,9 +239,9 @@ export default Component.extend(ClusterDriver, {
set(this, 'config.enablePrivateNodes', true);
}
if (get(this, 'config.cpSubnetAccess') === 'public') {
set(this, 'config.enablePrivatControlPlane', false);
set(this, 'config.enablePrivateControlPlane', false);
} else {
set(this, 'config.enablePrivatControlPlane', true);
set(this, 'config.enablePrivateControlPlane', true);
}
this.send('driverSave', cb);
@ -367,9 +367,9 @@ export default Component.extend(ClusterDriver, {
set(this, 'config.skipVcnDelete', true);
}
if (get(this, 'config.cpSubnetAccess') === 'public') {
set(this, 'config.enablePrivatControlPlane', false);
set(this, 'config.enablePrivateControlPlane', false);
} else {
set(this, 'config.enablePrivatControlPlane', true);
set(this, 'config.enablePrivateControlPlane', true);
}
if (get(this, 'config.npSubnetAccess') === 'public') {
set(this, 'config.enablePrivateNodes', false);