diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2016-07-20 11:32:14 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2016-07-20 11:32:14 +0200 |
| commit | 70e96a75ecc2b0a8fab66ff28c5bb69ed4b72eb8 (patch) | |
| tree | 290b787c915332a41d6d3c1a986999060069d5b3 | |
| parent | 9b7b5cffbe1ca399cc106b0a8a248da86694852d (diff) | |
config: add Initrd to known fields
| -rw-r--r-- | config/config.go | 1 | ||||
| -rw-r--r-- | vm/vm.go | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/config/config.go b/config/config.go index ccd3df615..dca74edb0 100644 --- a/config/config.go +++ b/config/config.go @@ -258,6 +258,7 @@ func checkUnknownFields(data []byte) (string, error) { "Enable_Syscalls", "Disable_Syscalls", "Suppressions", + "Initrd", } f := make(map[string]interface{}) if err := json.Unmarshal(data, &f); err != nil { @@ -33,7 +33,7 @@ type Config struct { Index int Workdir string Bin string - Initrd string + Initrd string Kernel string Cmdline string Image string |
