File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ DATAPLANE_PATHS=(
1515 " api/dataplane/v1beta1/common.go"
1616)
1717
18- # Getting APIs from Services
19- SERVICE_PATH=($( MODCACHE=$( go env GOMODCACHE) awk ' /openstack-k8s-operators/ && ! /lib-common/ && ! /openstack-operator/ && ! /infra/ && ! /replace/ {print ENVIRON["MODCACHE"] "/" $1 "@" $2 "/v1beta1/*_types.go" }' api/go.mod) )
18+ # Getting APIs from Services (use find to support multi-group operators like nova-operator)
19+ SERVICE_PATH=($( MODCACHE=$( go env GOMODCACHE) awk ' /openstack-k8s-operators/ && ! /lib-common/ && ! /openstack-operator/ && ! /infra/ && ! /replace/ {print ENVIRON["MODCACHE"] "/" $1 "@" $2}' api/go.mod) )
2020for SERVICE in ${SERVICE_PATH[@]} ; do
21- CTLPLANE_PATHS+=($( ls ${SERVICE} ) )
21+ CTLPLANE_PATHS+=($( find ${SERVICE} -path " */v1beta1/*_types.go " ) )
2222done
2323
2424# Getting APIs from Infra
You can’t perform that action at this time.
0 commit comments