diff --git a/specs-go/config.go b/specs-go/config.go index 9653552..80732ee 100644 --- a/specs-go/config.go +++ b/specs-go/config.go @@ -16,7 +16,7 @@ type Spec struct { // Device is a "Device" a container runtime can add to a container type Device struct { Name string `json:"name"` - NameShort []string `json:"nameShort"` + NameShort []string `json:"nameShort,omitempty"` ContainerEdits ContainerEdits `json:"containerEdits"` }