mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-27 07:48:55 +00:00
Merge pull request #2257 from devimc/topic/virtcontainers/honourDontSaveSpec
virtcontainers: honour ContainerConfig struct comment and don't save OCI spec
This commit is contained in:
commit
35d4cac999
@ -252,7 +252,7 @@ type ContainerConfig struct {
|
||||
Resources specs.LinuxResources
|
||||
|
||||
// Raw OCI specification, it won't be saved to disk.
|
||||
Spec *specs.Spec `json:"_"`
|
||||
Spec *specs.Spec `json:"-"`
|
||||
}
|
||||
|
||||
// valid checks that the container configuration is valid.
|
||||
|
Loading…
Reference in New Issue
Block a user