Skip to content

Commit

Permalink
Merge pull request #204 from jacobbednarz/allow-correlate-to-import
Browse files Browse the repository at this point in the history
Pass `RateLimitCorrelate` to `flattenRateLimitCorrelate`
  • Loading branch information
jacobbednarz authored Feb 24, 2019
2 parents fb5ee39 + a0f7ba0 commit 4d3de2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudflare/resource_cloudflare_rate_limit.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ func resourceCloudflareRateLimitRead(d *schema.ResourceData, meta interface{}) e
log.Printf("[WARN] Error setting action on rate limit %q: %s", d.Id(), err)
}

d.Set("correlate", flattenRateLimitCorrelate)
d.Set("correlate", flattenRateLimitCorrelate(rateLimit.Correlate))
d.Set("description", rateLimit.Description)
d.Set("disabled", rateLimit.Disabled)

Expand Down

0 comments on commit 4d3de2a

Please sign in to comment.