1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

fix 4sec timeout on Validate() method to 15sec

This commit is contained in:
Pedro Carmezim 2022-04-11 12:43:58 +01:00
parent 8dd947f9ba
commit be893b1d51
4 changed files with 4 additions and 4 deletions

View file

@ -112,7 +112,7 @@ func (a *Akeyless) Close(ctx context.Context) error {
}
func (a *Akeyless) Validate() error {
timeout := 4 * time.Second
timeout := 15 * time.Second
url := a.url
return utils.NetworkValidate(url, timeout)

View file

@ -198,7 +198,7 @@ func (kms *KeyManagementService) Close(ctx context.Context) error {
}
func (kms *KeyManagementService) Validate() error {
timeout := 4 * time.Second
timeout := 15 * time.Second
url := kms.url
return utils.NetworkValidate(url, timeout)

View file

@ -223,7 +223,7 @@ func (g *Gitlab) Close(ctx context.Context) error {
}
func (g *Gitlab) Validate() error {
timeout := 4 * time.Second
timeout := 15 * time.Second
url := g.url
return utils.NetworkValidate(url, timeout)

View file

@ -395,7 +395,7 @@ func (w *WebHook) Close(ctx context.Context) error {
}
func (w *WebHook) Validate() error {
timeout := 4 * time.Second
timeout := 15 * time.Second
url := w.url
return utils.NetworkValidate(url, timeout)