Skip to content

Commit 26ab2bf

Browse files
committed
removed redactList() for loop's break
1 parent 407468c commit 26ab2bf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/datagatherer/k8s/dynamic.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,6 @@ func redactList(list []*api.GatheredResource) error {
284284
// route object
285285
} else if gvk.Kind == "Route" && gvk.Group == "route.openshift.io" {
286286
Select(RouteSelectedFields, resource)
287-
288-
// break once a Secret or Route object has been processed as, no
289-
// other kinds have redact modifications
290-
break
291287
}
292288

293289
}

0 commit comments

Comments
 (0)