Skip to content

Commit ece6139

Browse files
authored
Remove duplicate aws-sdk-go/$service import (#102)
Remove duplicate `aws-sdk-go/$service` import. It is already imported in L14 with the alias `svcsdk` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 2e9866d commit ece6139

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

templates/pkg/resource/sdk.go.tpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import (
1616
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1717

1818
svcapitypes "github.com/aws-controllers-k8s/{{.ServiceIDClean }}-controller/apis/{{ .APIVersion }}"
19-
svcsdkapi "github.com/aws/aws-sdk-go/service/{{ .ServiceIDClean }}"
2019
)
2120

2221
// Hack to avoid import errors during build...
@@ -28,7 +27,6 @@ var (
2827
_ = &svcapitypes.{{ .CRD.Names.Camel }}{}
2928
_ = ackv1alpha1.AWSAccountID("")
3029
_ = &ackerr.NotFound
31-
_ = svcsdkapi.New
3230
)
3331

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

0 commit comments

Comments
 (0)