We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e579a6 commit ee66774Copy full SHA for ee66774
diff/diff.go
@@ -70,7 +70,7 @@ func Manifests(oldIndex, newIndex map[string]*manifest.MappingResult, suppressed
70
}
71
72
func redactSecrets(old, new *manifest.MappingResult) {
73
- if old != nil && old.Kind != "Secret" && new != nil && new.Kind != "Secret" {
+ if (old != nil && old.Kind != "Secret") || (new != nil && new.Kind != "Secret") {
74
return
75
76
serializer := json.NewYAMLSerializer(json.DefaultMetaFactory, scheme.Scheme,
0 commit comments