Skip to content

Commit 6cfd5d8

Browse files
Add reflect import to sdk.go template (#233)
Description of changes: Import `reflect` and add a dummy value to `sdk.go` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent f37b8ea commit 6cfd5d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/pkg/resource/sdk.go.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ package {{ .CRD.Names.Snake }}
44

55
import (
66
"context"
7+
"reflect"
78
"strings"
89

910
ackv1alpha1 "github.com/aws-controllers-k8s/runtime/apis/core/v1alpha1"
@@ -29,6 +30,7 @@ var (
2930
_ = ackv1alpha1.AWSAccountID("")
3031
_ = &ackerr.NotFound
3132
_ = &ackcondition.NotManagedMessage
33+
_ = &reflect.Value{}
3234
)
3335

3436
// sdkFind returns SDK-specific information about a supplied resource

0 commit comments

Comments
 (0)