mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-27 15:57:09 +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
|
Resources specs.LinuxResources
|
||||||
|
|
||||||
// Raw OCI specification, it won't be saved to disk.
|
// 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.
|
// valid checks that the container configuration is valid.
|
||||||
|
Loading…
Reference in New Issue
Block a user