mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-21 23:34:22 +01: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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user