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:
parent
7b704fb77d
commit
68a41035a9
|
@ -70,7 +70,7 @@ func testAccCheckMailgunDomainAttributes(DomainResp *mailgun.DomainResponse) res
|
||||||
}
|
}
|
||||||
|
|
||||||
if DomainResp.Domain.Wildcard != true {
|
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" {
|
if DomainResp.Domain.SmtpPassword != "foobar" {
|
||||||
|
|
Loading…
Reference in New Issue