diff options
-rw-r--r-- | mailgun/resource_mailgun_domain.go | 5 |
1 files 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 { | |||
376 | if err != nil { | 376 | if err != nil { |
377 | return fmt.Errorf("Error Getting mailgun domain Details for %s: Error: %s", d.Id(), err) | 377 | return fmt.Errorf("Error Getting mailgun domain Details for %s: Error: %s", d.Id(), err) |
378 | } | 378 | } |
379 | |||
380 | d.Set("created_at", domainResponse.Domain.CreatedAt.String()) | 379 | d.Set("created_at", domainResponse.Domain.CreatedAt.String()) |
381 | d.Set("smtd_login", domainResponse.Domain.SMTPLogin) | 380 | d.Set("smtp_login", domainResponse.Domain.SMTPLogin) |
382 | d.Set("name", domainResponse.Domain.Name) | 381 | d.Set("name", domainResponse.Domain.Name) |
383 | d.Set("smtd_password", domainResponse.Domain.SMTPPassword) | 382 | d.Set("smtp_password", domainResponse.Domain.SMTPPassword) |
384 | d.Set("wildcard", domainResponse.Domain.Wildcard) | 383 | d.Set("wildcard", domainResponse.Domain.Wildcard) |
385 | d.Set("spam_action", domainResponse.Domain.SpamAction) | 384 | d.Set("spam_action", domainResponse.Domain.SpamAction) |
386 | d.Set("state", domainResponse.Domain.State) | 385 | d.Set("state", domainResponse.Domain.State) |