From ebfb71da0581c793549c709195d21e65b2b6635a Mon Sep 17 00:00:00 2001 From: matias-portainer <104775949+matias-portainer@users.noreply.github.com> Date: Thu, 6 Oct 2022 11:12:39 -0300 Subject: [PATCH] fix(edge): fix docker proxy EE-4380 (#7799) --- api/http/proxy/factory/docker.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/api/http/proxy/factory/docker.go b/api/http/proxy/factory/docker.go index e916aa449..0b43f59da 100644 --- a/api/http/proxy/factory/docker.go +++ b/api/http/proxy/factory/docker.go @@ -57,15 +57,6 @@ func (factory *ProxyFactory) newDockerHTTPProxy(endpoint *portainer.Endpoint) (h endpointURL.Scheme = "https" } - snapshot, err := factory.dataStore.Snapshot().Snapshot(endpoint.ID) - if err != nil { - return nil, err - } - - if snapshot.Docker != nil { - endpoint.Snapshots = []portainer.DockerSnapshot{*snapshot.Docker} - } - transportParameters := &docker.TransportParameters{ Endpoint: endpoint, DataStore: factory.dataStore,