Skip to content

Commit

Permalink
Fix DataType resolver referenceName
Browse files Browse the repository at this point in the history
  • Loading branch information
koendelaat committed Feb 5, 2024
1 parent 28ba18b commit 04e776a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions apis/dbs/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions apis/dbs/v1alpha1/zz_generated.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions apis/dbs/v1alpha1/zz_subscription_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/connect/dbs/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func Configure(p *config.Provider) {
}
r.References["data_type"] = config.Reference{
Type: "github.com/philips-software/provider-hsdp/apis/mdm/v1alpha1.DataType",
RefFieldName: "DataTypeRefRef",
RefFieldName: "DataTypeRef",
SelectorFieldName: "DataTypeSelector",
Extractor: common.ExtractResourceNameFuncPath,
}
Expand Down
4 changes: 2 additions & 2 deletions package/crds/dbs.hsdp.crossplane.io_subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ spec:
properties:
dataType:
type: string
dataTypeRefRef:
dataTypeRef:
description: Reference to a DataType in mdm to populate dataType.
properties:
name:
Expand Down Expand Up @@ -248,7 +248,7 @@ spec:
properties:
dataType:
type: string
dataTypeRefRef:
dataTypeRef:
description: Reference to a DataType in mdm to populate dataType.
properties:
name:
Expand Down

0 comments on commit 04e776a

Please sign in to comment.