Skip to content

Commit 899cab8

Browse files
authored
fix: use SSLCheckDomain instead of Type to set a browser check SSL domain (#301)
1 parent 4843d73 commit 899cab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

checkly/resource_check.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ func resourceDataFromCheck(c *checkly.Check, d *schema.ResourceData) error {
650650

651651
// ssl_check_domain is only supported for Browser checks
652652
if c.Type == "BROWSER" && c.SSLCheckDomain != "" {
653-
d.Set("ssl_check_domain", c.Type)
653+
d.Set("ssl_check_domain", c.SSLCheckDomain)
654654
}
655655

656656
environmentVariables := environmentVariablesFromSet(d.Get("environment_variable").([]interface{}))

0 commit comments

Comments
 (0)