Skip to content

Commit efe1ea9

Browse files
committed
crossplane: use nopFilterList as default filterList implementation in ReadMany template
Signed-off-by: Muvaffak Onus <[email protected]>
1 parent deb2eb0 commit efe1ea9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/crossplane/pkg/controller.go.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ func newExternal(kube client.Client, client svcsdkapi.{{ .SDKAPIInterfaceTypeNam
188188
{{- else }}
189189
observe: nopObserve,
190190
{{- end }}
191+
{{- if .CRD.Ops.ReadMany }}
192+
filterList: nopFilterList,
193+
{{- end}}
191194
preCreate: nopPreCreate,
192195
postCreate: nopPostCreate,
193196
{{- if .CRD.Ops.Delete }}

0 commit comments

Comments
 (0)