builtin/providers/mailgun: vet fix

Fixes the following vet report:

builtin/providers/mailgun/resource_mailgun_domain_test.go:73: arg DomainResp.Domain.Wildcard for printf verb %s of wrong type: bool
This commit is contained in:
Emil Hessman 2014-12-17 12:59:07 +01:00
parent 7b704fb77d
commit 68a41035a9
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ func testAccCheckMailgunDomainAttributes(DomainResp *mailgun.DomainResponse) res
}
if DomainResp.Domain.Wildcard != true {
return fmt.Errorf("Bad wildcard: %s", DomainResp.Domain.Wildcard)
return fmt.Errorf("Bad wildcard: %t", DomainResp.Domain.Wildcard)
}
if DomainResp.Domain.SmtpPassword != "foobar" {