From b392a0161b82e0822e26933a7eca03b005edf6de Mon Sep 17 00:00:00 2001 From: Aiwantaozi Date: Mon, 11 Feb 2019 20:15:48 +0800 Subject: [PATCH] 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 --- apis/management.cattle.io/v3/logging_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/management.cattle.io/v3/logging_types.go b/apis/management.cattle.io/v3/logging_types.go index 00975c34..7ab08ffd 100644 --- a/apis/management.cattle.io/v3/logging_types.go +++ b/apis/management.cattle.io/v3/logging_types.go @@ -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 {