1
0
mirror of https://github.com/rancher/types.git synced 2025-09-18 16:10:58 +00:00

Update negative field to positive field

Problem:
excludeSystemComponent is a negative field

Solution:
change to includeSystemComponent and use true as default

Issue:
https://github.com/rancher/rancher/issues/15555
This commit is contained in:
Aiwantaozi
2019-02-11 20:15:48 +08:00
committed by Craig Jellick
parent 1d346f8e7d
commit b392a0161b

View File

@@ -56,7 +56,7 @@ type ClusterLoggingSpec struct {
LoggingTargets
LoggingCommonField
ClusterName string `json:"clusterName" norman:"type=reference[cluster]"`
ExcludeSystemComponent bool `json:"excludeSystemComponent,omitempty"`
IncludeSystemComponent *bool `json:"includeSystemComponent,omitempty" norman:"default=true"`
}
type ProjectLoggingSpec struct {