fix(snapshots): change the snapshot object to maintain backwards compatibility EE-5240 (#8705)

pull/8716/head
andres-portainer 2 years ago committed by GitHub
parent 30248eabb4
commit 3635df89dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -225,7 +225,7 @@ type (
// It contains some information of Docker's ContainerJSON struct // It contains some information of Docker's ContainerJSON struct
DockerContainerSnapshot struct { DockerContainerSnapshot struct {
types.Container types.Container
Env []string `json:"Env"` Env []string `json:"Env,omitempty"` // EE-5240
} }
// DockerSnapshotRaw represents all the information related to a snapshot as returned by the Docker API // DockerSnapshotRaw represents all the information related to a snapshot as returned by the Docker API

Loading…
Cancel
Save