mirror of
https://github.com/containers/buildah.git
synced 2026-02-05 09:45:38 +01:00
Run: don't try to encode SystemContext with json
Don't expect to be able to encode a SystemContext as JSON, because it will trigger an encoding error if fields which can't be encoded are set. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
This commit is contained in:
2
run.go
2
run.go
@@ -177,7 +177,7 @@ type RunOptions struct {
|
||||
// unmounted if Run() returned an error
|
||||
ExternalImageMounts []string
|
||||
// System context of current build
|
||||
SystemContext *types.SystemContext
|
||||
SystemContext *types.SystemContext `json:"-"`
|
||||
// CgroupManager to use for running OCI containers
|
||||
CgroupManager string
|
||||
// CDIConfigDir is the location of CDI configuration files, if the files in
|
||||
|
||||
Reference in New Issue
Block a user