Skip to content

Commit 78e69f5

Browse files
authored
Merge pull request #61 from vijtrip2/import-test
Using '_' variable for working around the unused import build time error.
2 parents 4635e56 + 885c139 commit 78e69f5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

templates/pkg/resource/resource.go.tpl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ import (
1212
svcapitypes "github.com/aws-controllers-k8s/{{ .ServiceIDClean }}-controller/apis/{{ .APIVersion}}"
1313
)
1414

15+
// Hack to avoid import errors during build...
16+
var (
17+
_ = &ackerrors.MissingNameIdentifier
18+
)
19+
1520
// resource implements the `aws-controller-k8s/runtime/pkg/types.AWSResource`
1621
// interface
1722
type resource struct {

0 commit comments

Comments
 (0)