Skip to content

Commit 8287f67

Browse files
authored
use correct import name of service-controller repo (#259)
Description of changes: * template separate from `references.go.tpl` was using outdated import name * Used the correct name now By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent c7b19a3 commit 8287f67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/pkg/resource/references_read_referenced_resource.go.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Where field is of type 'Field' from aws-controllers-k8s/code-generator/pkg/model
1212
Namespace: namespace,
1313
Name: *arr.Name,
1414
}
15-
obj := acksvcv1alpha1.{{ .FieldConfig.References.Resource }}{}
15+
obj := svcapitypes.{{ .FieldConfig.References.Resource }}{}
1616
err := apiReader.Get(ctx, namespacedName, &obj)
1717
if err != nil {
1818
return err

0 commit comments

Comments
 (0)