Skip to content

Commit 675b95b

Browse files
authored
Correct number of parameters to GoCodeResolveReference (#412)
Issue #, if available: Description of changes: Looks like we missed updating the call to `GoCodeResolveReference` after changing the function signature. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent d711066 commit 675b95b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/pkg/resource/references.go.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func resolveReferenceFor{{ $field.FieldPathWithUnderscore }}(
115115
}
116116
{{ end -}}
117117

118-
{{ GoCodeResolveReference .CRD $field "ko" 1 }}
118+
{{ GoCodeResolveReference $field "ko" 1 }}
119119
return nil
120120
}
121121

0 commit comments

Comments
 (0)