From ad8e5980606c5e4bc1bc1a140ddc24f2a626969c Mon Sep 17 00:00:00 2001 From: Samuel Karp Date: Wed, 8 Jun 2022 22:33:23 -0700 Subject: [PATCH] oci: Remove empty mount option slice for FreeBSD Mount options are marked `json:omitempty`. An empty slice in the default object caused TestWithSpecFromFile to fail. Signed-off-by: Samuel Karp --- oci/mounts_freebsd.go | 1 - 1 file changed, 1 deletion(-) diff --git a/oci/mounts_freebsd.go b/oci/mounts_freebsd.go index 42b9d7aff..ada12c1a6 100644 --- a/oci/mounts_freebsd.go +++ b/oci/mounts_freebsd.go @@ -32,7 +32,6 @@ func defaultMounts() []specs.Mount { Destination: "/dev/fd", Type: "fdescfs", Source: "fdescfs", - Options: []string{}, }, } }