From 14eb80abd418ef94f851caaf8dae1654e0296475 Mon Sep 17 00:00:00 2001 From: Alexandre Garand Date: Fri, 2 Aug 2019 14:31:36 +0200 Subject: fix smtp --- mailgun/resource_mailgun_domain.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mailgun/resource_mailgun_domain.go b/mailgun/resource_mailgun_domain.go index c6bc775..48f3a1a 100644 --- a/mailgun/resource_mailgun_domain.go +++ b/mailgun/resource_mailgun_domain.go @@ -376,11 +376,10 @@ func ReadDomain(d *schema.ResourceData, meta interface{}) error { if err != nil { return fmt.Errorf("Error Getting mailgun domain Details for %s: Error: %s", d.Id(), err) } - d.Set("created_at", domainResponse.Domain.CreatedAt.String()) - d.Set("smtd_login", domainResponse.Domain.SMTPLogin) + d.Set("smtp_login", domainResponse.Domain.SMTPLogin) d.Set("name", domainResponse.Domain.Name) - d.Set("smtd_password", domainResponse.Domain.SMTPPassword) + d.Set("smtp_password", domainResponse.Domain.SMTPPassword) d.Set("wildcard", domainResponse.Domain.Wildcard) d.Set("spam_action", domainResponse.Domain.SpamAction) d.Set("state", domainResponse.Domain.State) -- cgit v1.2.3