mirror of https://github.com/rancher/dashboard.git
Remap rke.windows to rke for logging values (#2684)
This commit is contained in:
parent
779896f0db
commit
19c9e7c379
|
|
@ -22,9 +22,15 @@ export default {
|
|||
},
|
||||
|
||||
created() {
|
||||
let provider = this.provider;
|
||||
|
||||
if ( provider.startsWith('rke.') ) {
|
||||
provider = 'rke';
|
||||
}
|
||||
|
||||
this.$set(this.value, 'additionalLoggingSources', this.value.additionalLoggingSources || {});
|
||||
this.$set(this.value.additionalLoggingSources, this.provider, this.value.additionalLoggingSources[this.provider] || {});
|
||||
this.$set(this.value.additionalLoggingSources[this.provider], 'enabled', true);
|
||||
this.$set(this.value.additionalLoggingSources, provider, this.value.additionalLoggingSources[provider] || {});
|
||||
this.$set(this.value.additionalLoggingSources[provider], 'enabled', true);
|
||||
this.$set(this.value, 'global', this.value.global || {});
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue