issyl0
released this
08 Aug 22:05
resource_email_forward: Fix email forward creation operations
- Since 5041c41e589df52a2851dba06e3fb938526e95a0, configuring email
forwards have been broken with:
```
panic: interface conversion: interface {} is *improvmx.Meta, not *improvmx.Client
goroutine 22 [running]:
github.com/issyl0/terraform-provider-improvmx/improvmx.resourceEmailForwardCreate(0xc000179000, 0x1765080, 0xc00061e288, 0x0, 0xffffffffffffffff)
github.com/issyl0/terraform-provider-improvmx/improvmx/resource_email_forward.go:42 +0x25f
```
- I decided to use the same style of handling as in `resource_domain`,
by using a mutex lock on read, and doing rate limit debug logging too.