mirror of https://github.com/rancher/ui.git
ensure eksconfig display name always matches cluster name
rancher/rancher#29353
This commit is contained in:
parent
82599b011c
commit
10ea146135
|
|
@ -711,6 +711,10 @@ export default Resource.extend(Grafana, ResourceUsage, {
|
|||
if (isEmpty(this.id)) {
|
||||
sanitizeConfigs(eksClusterConfigSpec, nodeGroupConfigSpec);
|
||||
|
||||
if (this.name !== get(this, 'eksConfig.displayName')) {
|
||||
set(this, 'eksConfig.displayName', this.name);
|
||||
}
|
||||
|
||||
return this._super(...arguments);
|
||||
} else {
|
||||
const config = jsondiffpatch.clone(get(this, 'eksConfig'));
|
||||
|
|
|
|||
Loading…
Reference in New Issue