web hooks: add mutual TLS support

This commit is contained in:
Nicola Murino
2021-02-13 14:41:37 +01:00
parent 1129a868a5
commit a21ccad174
12 changed files with 170 additions and 24 deletions

View File

@@ -109,7 +109,7 @@ func TestMain(m *testing.M) {
httpConfig := httpclient.Config{
Timeout: 5,
}
httpConfig.Initialize(configDir)
httpConfig.Initialize(configDir) //nolint:errcheck
go func() {
// start a test HTTP server to receive action notifications