mirror of https://github.com/rancher/ui.git
Change `excludeSystemComponent` to `includeSystemComponent`
https://github.com/rancher/rancher/issues/18026
This commit is contained in:
parent
822c082177
commit
3f7167e24e
|
|
@ -56,7 +56,7 @@ export default Mixin.create({
|
|||
[`${ t }.outputFlushInterval`]: get(this, `outputFlushInterval`),
|
||||
[`${ t }.outputTags`]: get(this, `outputTags`),
|
||||
[`${ t }.dockerRootDir`]: get(this, 'dockerRootDir'),
|
||||
[`${ t }.excludeSystemComponent`]: get(this, 'excludeSystemComponent'),
|
||||
[`${ t }.includeSystemComponent`]: get(this, 'includeSystemComponent'),
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -32,8 +32,8 @@
|
|||
{{/if}}
|
||||
|
||||
<div class="row">
|
||||
{{input type="checkbox" classNames="form-control" checked=model.excludeSystemComponent}}
|
||||
{{t 'loggingPage.additional.excludeSystemComponent.label'}}
|
||||
{{input type="checkbox" classNames="form-control" checked=model.includeSystemComponent}}
|
||||
{{t 'loggingPage.additional.includeSystemComponent.label'}}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -261,14 +261,14 @@ export default Component.extend(NewOrEdit, {
|
|||
})
|
||||
|
||||
const {
|
||||
outputFlushInterval, outputTags, dockerRoot, excludeSystemComponent
|
||||
outputFlushInterval, outputTags, dockerRoot, includeSystemComponent
|
||||
} = get(this, 'model.customTarget');
|
||||
|
||||
setProperties(model, {
|
||||
outputFlushInterval,
|
||||
outputTags,
|
||||
dockerRoot,
|
||||
excludeSystemComponent,
|
||||
includeSystemComponent,
|
||||
})
|
||||
} else {
|
||||
if (targetType === 'fluentForwarder') {
|
||||
|
|
@ -313,7 +313,7 @@ export default Component.extend(NewOrEdit, {
|
|||
outputTags: get(model, `${ targetType }.outputTags`),
|
||||
dockerRoot: get(model, `${ targetType }.dockerRoot`),
|
||||
[`${ targetType }Config`]: formatConfig,
|
||||
excludeSystemComponent: get(model, `${ targetType }.excludeSystemComponent`),
|
||||
includeSystemComponent: get(model, `${ targetType }.includeSystemComponent`),
|
||||
})
|
||||
|
||||
if (targetType === 'elasticsearch') {
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ loggingPage:
|
|||
placeholder: e.g. 1
|
||||
sec: sec
|
||||
helpText: How often buffered logs would be flushed.
|
||||
excludeSystemComponent:
|
||||
includeSystemComponent:
|
||||
label: Include System Log
|
||||
advanced:
|
||||
file: Edit as File
|
||||
|
|
|
|||
Loading…
Reference in New Issue