mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
[plugin/route53] Cleanup AWS config/credentials setup. (#5370)
Signed-off-by: Dmitry Ilyevsky <ilyevsky@gmail.com>
This commit is contained in:
@@ -5,12 +5,12 @@ import (
|
||||
|
||||
"github.com/coredns/caddy"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||
"github.com/aws/aws-sdk-go/aws/session"
|
||||
"github.com/aws/aws-sdk-go/service/route53/route53iface"
|
||||
)
|
||||
|
||||
func TestSetupRoute53(t *testing.T) {
|
||||
f = func(credential *credentials.Credentials, endpoint *string) route53iface.Route53API {
|
||||
f = func(opts session.Options) route53iface.Route53API {
|
||||
return fakeRoute53{}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user