plugin/route53: add fallthrough (#2132)

Automatically submitted.
This commit is contained in:
Can Yucel
2018-09-25 11:41:05 -07:00
committed by corbot[bot]
parent b89006dda1
commit 8d4378d712
5 changed files with 65 additions and 2 deletions

View File

@@ -52,6 +52,9 @@ func TestSetupRoute53(t *testing.T) {
c = caddy.NewTestController("dns", `route53 example.org:12345678 {
aws_access_key ACCESS_KEY_ID SEKRIT_ACCESS_KEY
upstream 1.2.3.4
}`)
c = caddy.NewTestController("dns", `route53 example.org:12345678 {
fallthrough
}`)
if err := setup(c, f); err != nil {
t.Fatalf("Unexpected errors: %v", err)