Skip to content

Commit

Permalink
chore: enable http insecure tls by default
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Oct 18, 2023
1 parent 6455210 commit fa1d75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (c *HTTPChecker) Run(ctx *context.Context) pkg.Results {
}

func (c *HTTPChecker) generateHTTPRequest(ctx *context.Context, check v1.HTTPCheck, connection *models.Connection) (*http.Request, error) {
client := http.NewClient().UserAgent("canary-checker/" + runner.Version)
client := http.NewClient().UserAgent("canary-checker/" + runner.Version).InsecureSkipVerify(true)

for _, header := range check.Headers {
value, err := ctx.GetEnvValueFromCache(header)
Expand Down

0 comments on commit fa1d75c

Please sign in to comment.