aboutsummaryrefslogtreecommitdiffhomepage
path: root/statuscake
diff options
context:
space:
mode:
Diffstat (limited to 'statuscake')
-rw-r--r--statuscake/resource_statuscaketest.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/statuscake/resource_statuscaketest.go b/statuscake/resource_statuscaketest.go
index 5af5b8f..f3ed3d2 100644
--- a/statuscake/resource_statuscaketest.go
+++ b/statuscake/resource_statuscaketest.go
@@ -337,6 +337,8 @@ func ReadTest(d *schema.ResourceData, meta interface{}) error {
337 } else if v, ok := d.GetOk("contact_id"); ok { 337 } else if v, ok := d.GetOk("contact_id"); ok {
338 d.Set("contact_id", v) 338 d.Set("contact_id", v)
339 } 339 }
340
341 d.Set("contact_group", testResp.ContactGroup)
340 d.Set("website_name", testResp.WebsiteName) 342 d.Set("website_name", testResp.WebsiteName)
341 d.Set("website_url", testResp.WebsiteURL) 343 d.Set("website_url", testResp.WebsiteURL)
342 d.Set("check_rate", testResp.CheckRate) 344 d.Set("check_rate", testResp.CheckRate)
@@ -362,11 +364,12 @@ func ReadTest(d *schema.ResourceData, meta interface{}) error {
362 d.Set("do_not_find", testResp.DoNotFind) 364 d.Set("do_not_find", testResp.DoNotFind)
363 d.Set("status_codes", testResp.StatusCodes) 365 d.Set("status_codes", testResp.StatusCodes)
364 d.Set("use_jar", testResp.UseJar) 366 d.Set("use_jar", testResp.UseJar)
367 d.Set("user_agent", testResp.UserAgent)
365 d.Set("post_raw", testResp.PostRaw) 368 d.Set("post_raw", testResp.PostRaw)
366 d.Set("final_endpoint", testResp.FinalEndpoint) 369 d.Set("final_endpoint", testResp.FinalEndpoint)
367 d.Set("enable_ssl_alert", testResp.EnableSSLAlert) 370 d.Set("enable_ssl_alert", testResp.EnableSSLAlert)
368 d.Set("follow_redirect", testResp.FollowRedirect) 371 d.Set("follow_redirect", testResp.FollowRedirect)
369 372 d.Set("test_tags", testResp.TestTags)
370 return nil 373 return nil
371} 374}
372 375