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:
parent
8dd947f9ba
commit
be893b1d51
4 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue