1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00

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

This commit is contained in:
andres-portainer 2023-03-23 13:30:32 -03:00 committed by GitHub
parent 30248eabb4
commit 3635df89dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -225,7 +225,7 @@ type (
// It contains some information of Docker's ContainerJSON struct
DockerContainerSnapshot struct {
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