feat(openamt): Increase OpenAMT timeouts [INT-30] (#6253)

This commit is contained in:
Marcelo Rydel
2021-12-10 15:45:12 -03:00
committed by GitHub
parent 27ced894fd
commit 3acaee1489
10 changed files with 36 additions and 41 deletions

View File

@@ -61,7 +61,7 @@ func (handler *Handler) webhookExecute(w http.ResponseWriter, r *http.Request) *
}
func (handler *Handler) executeServiceWebhook(w http.ResponseWriter, endpoint *portainer.Endpoint, resourceID string, imageTag string) *httperror.HandlerError {
dockerClient, err := handler.DockerClientFactory.CreateClient(endpoint, "")
dockerClient, err := handler.DockerClientFactory.CreateClient(endpoint, "", nil)
if err != nil {
return &httperror.HandlerError{http.StatusInternalServerError, "Error creating docker client", err}
}