Skip to content

Commit

Permalink
Correct number of parameters to GoCodeResolveReference (aws-control…
Browse files Browse the repository at this point in the history
…lers-k8s#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.
  • Loading branch information
jljaco authored Feb 9, 2023
1 parent d711066 commit 675b95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/pkg/resource/references.go.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func resolveReferenceFor{{ $field.FieldPathWithUnderscore }}(
}
{{ end -}}

{{ GoCodeResolveReference .CRD $field "ko" 1 }}
{{ GoCodeResolveReference $field "ko" 1 }}
return nil
}

Expand Down

0 comments on commit 675b95b

Please sign in to comment.