Skip to content

Commit

Permalink
Merge pull request #20 from checkly/kjda/tf-ticket-48
Browse files Browse the repository at this point in the history
fixing sslExpirythreshold
  • Loading branch information
kjda committed Jan 21, 2021
2 parents f7d333a + c4edd1c commit 70d7f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkly.go
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ func payloadFromAlertChannel(ac AlertChannel) map[string]interface{} {
"sendFailure": ac.SendFailure,
"sslExpiry": ac.SSLExpiry,
}
if ac.SSLExpiry != nil {
if ac.SSLExpiryThreshold != nil {
payload["sslExpiryThreshold"] = ac.SSLExpiryThreshold
}
return payload
Expand Down

0 comments on commit 70d7f5e

Please sign in to comment.