Skip to content

Commit 201870b

Browse files
authored
Add missing proxy headers (#1815)
1 parent 6055c58 commit 201870b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/resources/syntheticmonitoring/resource_check.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,6 +1465,7 @@ func makeCheckSettings(settings map[string]interface{}) (sm.CheckSettings, error
14651465
NoFollowRedirects: h["no_follow_redirects"].(bool),
14661466
BearerToken: h["bearer_token"].(string),
14671467
ProxyURL: h["proxy_url"].(string),
1468+
ProxyConnectHeaders: common.SetToStringSlice(h["proxy_connect_headers"].(*schema.Set)),
14681469
FailIfSSL: h["fail_if_ssl"].(bool),
14691470
FailIfNotSSL: h["fail_if_not_ssl"].(bool),
14701471
ValidHTTPVersions: common.SetToStringSlice(h["valid_http_versions"].(*schema.Set)),

0 commit comments

Comments
 (0)