Skip to content

Commit 858cded

Browse files
authored
Add missing sdk_delete_post_build_request hook in sdk.go.tpl (#74)
Issue N/A Description of changes: - Adds missing `sdk_delete_post_build_request` hook in `sdk.go.tpl` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 8f9a108 commit 858cded

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/pkg/resource/sdk.go.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ func (rm *resourceManager) sdkDelete(
135135
if err != nil {
136136
return err
137137
}
138+
{{- if $hookCode := Hook .CRD "sdk_delete_post_build_request" }}
139+
{{ $hookCode }}
140+
{{- end }}
138141
_, respErr := rm.sdkapi.{{ .CRD.Ops.Delete.Name }}WithContext(ctx, input)
139142
rm.metrics.RecordAPICall("DELETE", "{{ .CRD.Ops.Delete.Name }}", respErr)
140143
{{- if $hookCode := Hook .CRD "sdk_delete_post_request" }}

0 commit comments

Comments
 (0)