mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 00:09:40 +02:00
fix(edge): fix docker proxy EE-4380 (#7799)
This commit is contained in:
parent
ae0b9b1e30
commit
ebfb71da05
1 changed files with 0 additions and 9 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue