diff --git a/virtcontainers/device/config/config.go b/virtcontainers/device/config/config.go index 66de00cfc6..0bfb79b571 100644 --- a/virtcontainers/device/config/config.go +++ b/virtcontainers/device/config/config.go @@ -53,7 +53,7 @@ type DeviceInfo struct { HostPath string // ContainerPath is device path inside container - ContainerPath string + ContainerPath string `json:"-"` // Type of device: c, b, u or p // c , u - character(unbuffered)